If a module in Puppetfile using git, the current work directory isn't updated when branch updated
mod 'peadm',
:git => 'https://github.com/puppetlabs/puppetlabs-peadm.git',
:branch => 'master'
imac:peadm ((deea897...))$ git status
HEAD detached at deea897