set origin url git

Shell
git remote set-url origin new.git.url/heregit remote set-url origin new.git.url/here 
git remote add origin new.git.url/here
git remote add origin <git_url>
Source

Also in Shell: