I have received the following error multiple times:
Could not read remote repository. Please make sure you have the correct access rights and the repo
ssh-add -A resolved my issue in MacOS Sierra 10.12.6.
I had no problem both for public and private repo before.
Today I tried to clone or git pull for private repo, but it hit the above issues.
After search around, this is the perfect solution for me.