Generate a git patch for a commit

git format-patch -1 <sha>