please make sure you have correct rights and the repository exists in git error code example
Example 1: Please make sure you have the correct access rights and the repository exists.
git remote set-url origin https://github.com/username/repository.git
Example 2: Please make sure you have the correct access rights and the repository exists.
ssh -T git@gitlab.com