git checkout <branch1name> # <branch1name> is the new branch git merge <branch2name> # <branch2name> is the branch from which you want to copy