Tentando git pull com erro: não é possível abrir .git / FETCH_HEAD: Permissão negada
Me ajude por favor, estou tentando rodar isso no meu terminal:
asgard@asgard-A7N8X2-0:~/CollegePortal$ git pull
error: cannot open .git/FETCH_HEAD: Permission denied
Então eu tento este
asgard@asgard-A7N8X2-0:~/CollegePortal$ sudo git pull
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Me ajude, eu não entendo esse problema.