publish a branch to terminal code example
Example 1: git link local branch to remote branch
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
Example 2: Push your branch up to the remote.
$ git push <remote> <branch>
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
$ git push <remote> <branch>