how to create a patch file between 2 branches git

Shell
git diff master Branch1 > ../patchfile
git checkout Branch2    
git apply ../patchfile

Source

Also in Shell: