fatal: repository not found Github 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: cloning a repository that says not found

git credential-osxkeychain erase
host=github.com
protocol=https

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