git: show and change URL of remote origin

To show the current remote origin URL, use:

$ git config --get remote.origin.url

To change it, use:

$ git config remote.origin.url [new-url]