return if not in a git repo