git configure upstream branch code example
Example 1: github set branch upstream
git push --set-upstream origin <remote-branch>
Example 2: check upstream branch git
git status -sb
git push --set-upstream origin <remote-branch>
git status -sb