removed square brackets when not in a git repo