Throw an error if we try to use git but it isn't installed (#362)
Make the code a little clearer
Merge pull request #503 from wibblymat/issue-362

Throw an error if we try to use git but it isn't installed (#362)