$ git remote rm <remote-name>
$ git remote rm origin1
git remote rm
remove all reference to remote (on local) , it does not remove the repository
list remote connection
$ git remote -v
...
origin https://github.com/OWNER/REPOSITORY.git (fetch)
origin https://github.com/OWNER/REPOSITORY.git (push)