<b> Type command to see current git remote url </b> $ git remote -v <b> Chnage git remote url</b> git remote set-url origin git@github.com:username/reponame.git Or, git remote set-url origin https://github.com/username/reponame.git <b> Verify again</b> $ git remote -v