Fixing bug with `git branch --list` not being supported in git 1.7.x. Replacing with `git show-ref`.
Fixing typo in commit message.