git reset remote origin

Shell
$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Source

Also in Shell: