Remove branch name when not in a Git folder