create local to remote branch code example
Example 1: create local branch to track remote
git checkout --track origin/some_remote_branch
Example 2: create local and remote branch
git checkout -b yourBranchName
git push -u origin yourBanchName
git checkout --track origin/some_remote_branch
git checkout -b yourBranchName
git push -u origin yourBanchName