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
A simple solution to this is delete the old ssh key from github/gitlab and add the same key again. This is easy work around and you have to hussle with anything