Copy from master to branch by #If you can use: git merge git checkout oldBranch. git checkout master . #With period git add --all git commit -m "Copy from master to oldBranch" git push -u origin oldBranch#If you can use: git merge git checkout oldBranch. git checkout master . #With period git add --all git commit -m "Copy from master to oldBranch" git push -u origin oldBranch Please follow and like us: