git push code in new branch code example
Example 1: push a new branch
git push -u origin <branch-name>
Example 2: git link local branch to remote branch
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
git push -u origin <branch-name>
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'