puppetlabs/modulesync — pull request #34 by razorsedge (2014-12-22 07:51:05+00:00)
Title: Fix support for branches other than 'master'.

This seems to better support those of us who do not commit directly to the master branch. I was having a terrible time with the code making a new branch instead of switching to the existing remote. `repo.checkout(branch)` was the magic sauce.