git create patch between two branches code example
Example: how to create a patch file between 2 branches git
git diff master Branch1 > ../patchfile
git checkout Branch2
git apply ../patchfile
git diff master Branch1 > ../patchfile
git checkout Branch2
git apply ../patchfile