Assuming your remote is called origin, run
git remote set-url origin https://...git remote set-url --push origin https://...
You can view the configured remotes with git remote -v, which should now show your updated URLs.
See the documentation for git-remote for more details.