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