Let's assume that you started on the branch master. Then you can do:
git diff master Branch1 > ../patchfile
git checkout Branch2
git apply ../patchfile
Alternatively, if your goal is to rewrite history, then you could use an interactive rebase to squash commits.