only show git status when in directory with .git