git change remote of branch code example
Example 1: git bash upstream branch change
git branch --set-upstream-to=origin/branch
Example 2: check upstream branch git
git status -sb
git branch --set-upstream-to=origin/branch
git status -sb