ERROR: Repository not found. fatal: Could not read from remote repository. code example

Example 1: remote: Repository not found.

git remote rm origin

Example 2: Error: Repository not found

git remote add origin  https://USERNAME:PASSWORD@github.com/username/reponame.git

Example 3: repository not found

git remote set-url origin https://YOUR_GITHUB_USER@github.com/aceofwings/RotairERP.git
//your repository is probably private

Example 4: ERROR: Repository not found. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

This could happen if you have a reposotory that you deleted in your 
gitserver/provider so change the origin to a one that exists and the push

Example 5: remote: Repository not found. fatal: repository 'https://github.com/Zoetis-Hybris/ZoetisGCP.git/' not found

conflict with local github network , so had to remove the local github network and was able to pull remote successful