git remote add upstream master repo link code example
Example 1: git setup upstream
$ git push -u <remote> <branch>
Example 2: git remote add upstream
git remote add upstream GIT_DIR
$ git push -u <remote> <branch>
git remote add upstream GIT_DIR