git remote add upstream

C++
git remote add upstream https://thehttpslinkgoeshere.git$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.gitgit remote add upstream [email protected]:some-gatekeeper-maintainer/some-project.gitgit remote add upstream GIT_DIR
Source

Also in C++: