How to solve Repository not found in git

error message

Repository not found. Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

solution

Go to project/.git and open the config file

find the following

[remote "origin"]
	url = [email protected]:/xxx/xxx.git

change into

[remote "origin"]
	url = https://github.com/xxx/xxx.git