Repository not found. fatal: repository code example

Example 1: Error: Repository not found

git remote add origin  https://USERNAME:[email protected]/username/reponame.git

Example 2: repository not found

git remote set-url origin https://[email protected]/aceofwings/RotairERP.git
//your repository is probably private

Example 3: 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 4: 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

Tags:

C Example