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++ linux programming
File descriptors linux programming
Introduction to C++ threads linux programming
Autotools linux programming
Using Gerrit with MySQL git linux