You create your patch back - this patch is trying to delete this file. I think you would like:
git diff origin/master master > patch1.diff
You may find git format-patch. If you have master, you can do this:
git format-patch origin/master
This command will give a bunch of patch files, one for each commit that differs between your branch and origin/master. You can then apply them with git amand save all additional data, such as a commit message and information about the author.
source
share