delete git config all remote url

C++
git remote remove origingit remote remove origin
Or 
git remote rm origin
Source

Also in C++: