kota's memex

https://github.com/so-fancy/diff-so-fancy

Found a nice tool you can use for an improved git diff ui.

git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
git config --global interactive.diffFilter "diff-so-fancy --patch"

You can always run git --no-pager diff or even setup a git patch command that uses the classic diff output:

[alias]
    patch = !git --no-pager diff --no-color

Then you can run git patch > changes.patch to generate a patch still.