git merge from branch to branch code example
Example 1: create new branch git
$ git checkout -b newBranchName
Example 2: merge branch to branch
git checkout master
git merge new-branch
git push
$ git checkout -b newBranchName
git checkout master
git merge new-branch
git push