git remote add upstream origin code example Example: git remote add upstream git remote add upstream GIT_DIR