git checkout master #checkout to master branch git pull origin master #Now pull the latest changes in master, git merge testBranch #Merge with the testBranch git push origin master #Push the changes to master