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