Today I learned that you can configure git to use a different diff viewer when displaying diffs from the command line. You do this by setting the pager config git config --global core.pager delta and delta is a cool one written in Rust that can even display line numbers and syntax highlighting.

git show produces:

screenshot of delta git show output

Relatedly, it uses the same themes as bat which is a cat command line replacement with syntax highlighting that is pretty nice.