push a branch to remote with other branch as head code example
Example 1: github Push local branch to Remote
git push origin <Branch_Name>
Example 2: push local branch changes to remote branch
git push -u origin localBranch:remoteBranchToBeCreated