add branch from remote repo to origin code example
Example 1: create local and remote branch
git checkout -b yourBranchName
git push -u origin yourBanchName
Example 2: Push your branch up to the remote.
$ git push <remote> <branch>
git checkout -b yourBranchName
git push -u origin yourBanchName
$ git push <remote> <branch>