update git local remote code example
Example 1: change remote url git
git remote set-url origin https://hostname/USERNAME/REPOSITORY.git
Example 2: git remote add upstream
git remote add upstream GIT_DIR
git remote set-url origin https://hostname/USERNAME/REPOSITORY.git
git remote add upstream GIT_DIR