fatal: bad color value ‘auto’ for variable ‘color.branch.current’

If you’ve been fiddling with your Terminal colours and you’re seeingĀ this errorĀ fatal: bad color value ‘auto’ for variable ‘color.branch.current’ it’s because you’ve got an error in your git config. You need to narrow down whether it’s in your local config or within your current repo.

But, we can actually see what comes from where…

$ git config --list --system
$ git config --list --global
$ git config --list --local

OK, so it’s in the global git config. Let’s edit that…

$ git config --global --edit

… and set the colours properly…

14 [color "branch"]
15   current = green bold
16   remote = white reverse