You can define the way of git output in terms of color, by edit ~/.gitconfig. Here is an example,
1 [user]
2 name = xxx
3 email = xxx@yyy.com
4
5 [color]
6 diff = auto
7 status = auto
8 branch = auto
9 interactive = auto
10 ui = true
11 pager = true
12