Only show the branch specifier if the current directory is part of a git repo