if filepath contains ".git" don't cd before `git remote -v`