ERROR: Permission to .git denied to. [How to Solve]

First, check the SSH connection of the current host

ssh -T [email protected]

Empty SSH

ssh-add -D

Add SSH

ssh-add ~/.ssh/xxx

Read More: