git how set upstream code example
Example 1: git set upstream repository
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
Example 2: git configure upstream for branch push and pull
# if remote_branch_name == local_branch_name
$ git push -u origin HEAD