On so let's say we have 2 branches
1st -> Local branch
2nd -> master
Now you have few changes in "local" branch and you want to merge them to master and then you want to update "remote master" as well
Follow these steps
git checkout master // to get into master branch git merge local // So we saying get new changes from local and merge in master git push origin master // Updating master
Hope this helped