if we're not in a git repo. don't link commit hooks (fix #2141)
Merge pull request #2142 from jlipps/master

if we're not in a git repo. don't link commit hooks (fix #2141)