how to push branch code to master code example
Example 1: push from branch to master
$ git push origin develop:master
Example 2: git push in a new branch
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>
Example 3: push from branch to master
$ git push <remote> <local branch name>:<remote branch to push into>
#local branch name can be HEAD if you dont want to specifie the local branch