$ git remote rename <old> <new>
$ git remote rename test origin
list remote connection
$ git remote -v
...
test https://github.com/OWNER/REPOSITORY.git (fetch)
test https://github.com/OWNER/REPOSITORY.git (push)
$ git remote -v
...
origin1 https://github.com/OWNER/REPOSITORY.git (fetch)
origin1 https://github.com/OWNER/REPOSITORY.git (push)