git remote rename <old remote> <new remote name>

Removes given remote [name]

Arguments

NameDescription
old remote
new remote name