how to merge a branch locally on git code example
Example: how to merge git branch to master
git checkout master
git pull origin master
git merge test
git push origin master
git checkout master
git pull origin master
git merge test
git push origin master