. >git push -u origin master

Access deined:You do not have permission push to this repository

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

Is not very annoying!!

Look at the picture below, easy to solve:



1. Locate the project’s.git folder (possibly hidden), go to the.config file, and open it with an editor.

2. Copy the remote warehouse address to be pushed.

3. Change the address of Step 3 to that of Step 2