git make new branch with matching upstream code example
Example 1: github set branch upstream
git push --set-upstream origin <remote-branch>
Example 2: create local and remote branch
git checkout -b yourBranchName
git push -u origin yourBanchName