I assume that it\'s because of the color setting in my config file, but I\'ve tried changing that to no avail. Maybe I\'m not doing that right?
Notice that Git Bash
I'm seeing the exact same problem, only for some command prompts. (By default it works, but when I run my team's "razzle" customization script the output is broken like your screenshot. Oddly, coloring in git log and status works fine; just branch is broken.)
I created a new shortcut that launched the same customization script, and the output is fixed for my new shortcut. Very weird.
If you run git branch --no-color
you see the right output, just without color?
You can run git config --local --add color.branch never
to set that as the default for this repo.