git add new remote upstream code example
Example 1: git set remote
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Example 2: git set upstream repository
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git