change git remote

Shell
git remote set-url origin [email protected]:/your-repository.gitgit remote set-url origin [email protected]:user/repository2.gitgit 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> git remote -v
 git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Source

Also in Shell: