Doesn't work in my gnome-terminal. Looks like the commands get escaped by git somehow. Did anybody test it?
Anyway, they default to "linux" for more than a decade.
...Lord, when did I get so old? :/
https://en.wikipedia.org/wiki/ANSI_escape_code
It's definitely a terminal thing. The "bug" in git is that it doesn't strip out the control characters or reject the commit if the commit message contains non-text data.