change git upstream branch from forked branch code example
Example 1: git bash upstream branch change
git branch --set-upstream-to=origin/branch
Example 2: git bash upstream branch change
git config --edit
git branch --set-upstream-to=origin/branch
git config --edit