git upstream configure code example
Example 1: git push set upstream
git push --set-upstream origin <branch>
Example 2: git set upstream repository
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
git push --set-upstream origin <branch>
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git