Próba git pull z błędem: nie można otworzyć .git / FETCH_HEAD: Odmowa uprawnień

Pomóż mi, próbuję uruchomić to w moim terminalu:

asgard@asgard-A7N8X2-0:~/CollegePortal$ git pull
error: cannot open .git/FETCH_HEAD: Permission denied

Potem spróbuję tego

asgard@asgard-A7N8X2-0:~/CollegePortal$ sudo git pull
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

Pomóż mi, nie rozumiem tego problemu.

questionAnswers(20)

yourAnswerToTheQuestion