setting the upstream for a fork code example Example: git remote add upstream git remote add upstream GIT_DIR