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