In linux git doesn’t show colors by default. To make git diff, log, status, etc…, show pretty colors you need to issue this command from a terminal:

1
git config --global color.ui true
[ git  linux  programming  ]
Mutexes in C++
File descriptors
Introduction to C++ threads
Autotools
Using Gerrit with MySQL