Add useful error message when outside a git repo.

This will notify the dev of the help arguments when they're outside a
git repo.