If you've followed a wrong order of git configuration - in this case, you've already added a git origin
to your .git
configuration -, you can change the remote origin in your git config doing this:
$ git remote set-url origin [email protected]:username/projectname.git