add upstream to forked repo code example Example: setting the upstream for a fork github git remote add upstream https://thehttpslinkgoeshere.git