should probably call this `get_git_path` to be consistent