Exit gracefully if git fails.
Merge pull request #3 from davedash/exit-gracefully

Exit gracefully if git fails.