check that we start in a git repo