git branch set upstream branch code example
Example 1: github set branch upstream
git push --set-upstream origin <remote-branch>
Example 2: git bash upstream branch change
git branch --set-upstream-to=origin/branch
git push --set-upstream origin <remote-branch>
git branch --set-upstream-to=origin/branch