diff-so-fancy

Makes diffs more readable with syntax highlighting and improved formatting

brewmacoslinux
Try with needOr install directly
Source

About

Good-lookin' diffs with diff-highlight and more

Commands

diff-so-fancy

Examples

View a git diff with improved formatting$ git diff | diff-so-fancy
Compare two files with fancy diff output$ diff -u file1.txt file2.txt | diff-so-fancy
Configure git to use diff-so-fancy by default$ git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"