Git - Repository Not Found Error

When using VSCode, for some reason I was seeing a 'repository not found' error when I tried to push repos that previously worked without any problems.

The solution was to first, remove the origin:

git remote rm origin

And then add it back, BUT make sure to put your username in the command:

git remote add origin https://YOUR-GIT-USERNAME@github.com/your-username/some-repo.git

Here's a video that showed me this