Check that the path we're adding is a git repo
Exit with appropriate error codes, print usage if invoked without args