ways to change local repository changes to remote git code example Example: git remote add upstream git remote add upstream GIT_DIR