git show upstream branch code example
Example 1: how to see remote branch git
git remote show origin
Example 2: git bash upstream branch change
git branch --set-upstream-to=origin/branch
Example 3: git set upstream repository
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
Example 4: check upstream branch git
git status -sb