in your .gitconfig would solve this problem in a nice targeted way, but it won’t, so don’t bother. See here[3] for some discussion about that.

(This post is part of my SOLVED as a Service[4] series, in which I post solutions to technical problems with open source software that I use. The point is the next time I encounter the same problem and do an Internet search, my own post will come up; this has now actually happened several times. If these posts help others, that’s a bonus.)