how to change origin branch in git code example
Example 1: git bash upstream branch change
git branch --set-upstream-to=origin/branch
Example 2: git replace with origin branch
git reset --hard origin/<branch-name>
Example 3: check upstream branch git
git status -sb