Your local Git repository origin setting should be updated if you moved to a different Git hosting provider or if you renamed the existing origin repository.

First remove the old origin:

git remote rm origin

The add the new origin:

git remote add origin __REPOS_PATH__

Let's say, I've renamed janitor-demo to demo. Then it could look something like this:

git remote add origin

And finally, push all changes to the new origin:

git push -u origin master

That's it. Your local repository is now mapped to the new origin.