I ran into a similar issue when cloning a repo. Below is the error message
"ERROR: repository not found. Fatal: Failed to read from the remote repository.
Please make sure you have the correct permissions. "
I changed the clone url to https and it worked for me.
source share