change upstream branch git code example
Example 1: git bash upstream branch change
git branch --set-upstream-to=origin/branch
Example 2: git set upstream repository
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
Example 3: git bash upstream branch change
git config --edit