permission denied (publickey).
fatal could not read from remote repository
If you are facing this error, then follow me:
eval "$(ssh-agent -s)"
then you should see some output like:
Agent pid 59566
If you can see some output , then you have publickey, you can put it into github (follow the last link of this post), otherwise you need to:
ssh-keygen -t rsa -b 4096 -C "firstname.lastname@example.org"
above email is your github email.
It will ask you which place to save the key and set a password, you just need to type "enter" for all of them.
Then, run this:
Then follow below to link put the key onto github: