...
git format-patch -<n> <sha>
This will create a patches patch set based on the last number of commits <n> starting at the commit <sha>. Or
git format-patch -<n> HEAD
or which will create a patches patch set starting at the HEAD of the branch. if If you have changes on a separate branch, then you an can use rhe the following to create the patches.
...