Enable syntax highlighting in git

You can enable syntax highlighting in git's terminal output using a global git configuration:

git config --global color.ui true

This covers pretty much everything from highlighting + line additions in git diff to highlighting commit ID's in git log.

There are also a few more advanced options you might be interested in to customize the output.