setting the upstream for a fork github

C++
git remote add upstream https://thehttpslinkgoeshere.git
Source

Also in C++: