$ git remote -v
# 查看现有远程
> origin https://github.com/OWNER/REPOSITORY.git (fetch)
> origin https://github.com/OWNER/REPOSITORY.git (push)
$ git remote rename origin destination
# 将远程名称从 'origin' 更改为 'destination'
$ git remote -v
# 验证远程的新名称
> destination https://github.com/OWNER/REPOSITORY.git (fetch)
> destination https://github.com/OWNER/REPOSITORY.git (push)