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