Please make sure you have the correct access rights and the repository exists. mac 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