Change remote git origin

Linux

git remote set-url origin git: //new.url.here

from https: //stackoverflow.com/questions/16330404/how-to-remove-remote-origin-from-git-repo