what is upstream used for in git code example
Example 1: git set upstream repository
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
Example 2: git setup upstream
$ git push -u <remote> <branch>
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
$ git push -u <remote> <branch>