Como criar um arquivo de patch entre 2 ramificações Git

git diff master Branch1 > ../patchfile
git checkout Branch2    
git apply ../patchfile
Different Dotterel