I\'ve been working with git for a few weeks, but now I\'d like to contribute back to this open source project. I\'ve merged my work with the latest, remote by pulling editing ou
Use git format-patch origin/master. This creates a patch file for each commit on your checked out branch, which is not in origin/master.
git format-patch origin/master
To have one file instead of multiple files you can use
git format-patch master --stdout > mypatch.patch