Recently, I switched to SLES 11. I found a problem for git command. All the ANSI color could not be rendered. Instead, it shows the ANSI code like this:
*ESC
Whoever ever winds up here, in my case it was solved by setting core.pager to an empty string, instead of unsetting it:
git config --global core.pager ''
This was from https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration