git format-patch
: https://gist.github.com/Integralist/87852ced09d7918322c0)git show HEAD HEAD~1 # (or use a hash instead: `git show {commit} {commit} {commit}`)
git diff --cached | gist -p -f test.diff
curl https://gist.githubusercontent.com/anonymous/x/raw/x/test.diff | git apply
curl https://gist.githubusercontent.com/anonymous/x/raw/x/test.diff | git apply --reverse