how to change remote origin for your git code example
Example 1: how to change remote origin guit
$ git remote set-url origin [email protected]:USERNAME/REPOSITORY.git
Example 2: set origin url git
git remote add origin <git_url>
$ git remote set-url origin [email protected]:USERNAME/REPOSITORY.git
git remote add origin <git_url>