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