change remote to use ssh git command

Shell
git remote add origin [email protected]:nikhilbhardwaj/abc.gitgit remote add origin <git_url>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

Source

Also in Shell: