Prettier git diff with diff-so-fancy

diff-so-fancy makes git diff a little more human-readable. By default git diff gives you this output:

By contrast with enhanced git diff, you get:

To replace the default pager, put this into your .gitconfig file:

[pager]
	diff = diff-so-fancy | less --tabs=4 -RFX
	show = diff-so-fancy | less --tabs=4 -RFX

You can also bypass the enhanced mode with:

git --no-pager diff

This protip has been written in 701 seconds