来源:https://stackoverflow.com/questions/10998792/how-to-color-the-git-console
git config --global color.ui auto
更细节的设置
git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto