I want to give a specific color to git

C++
git config --global color.ui auto

Source

Also in C++: