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