set git origin

Shell
git remote set-url origin [email protected]:/your-repository.gitgit remote add origin [email protected]:portfolio/space.space_name.git
Source

Also in Shell: