Merge remote commits to local then push Code Example
merge remote commits to local then push
git checkout master
git fetch
# Merge remote/master
git merge remote/master
# Or rebase local commits on top instead
git rebase remote/master
# Push the results
git push remote master