When I try the below command, I get an error, this is my first time using git. So I definitely don't know how it works. I have an account with Github.
I believe I setup the git on the raspberry pi correctly, I followed a raspberry pi beginner project to learn the basics but it doesn't really explain what to do when things go wrong...
git push -u origin master
Doesn't seem to work, I get this:
The authenticity of host 'github.com (126.96.36.199)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,188.8.131.52' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
From what I can tell its trying to upload to github but can't, how do I gain permission?
Do I need to setup something in my Github account first then apply a key?
I'm using a WIN laptop and connect to the RPi using VNC over wi-fi. I setup the Rpi yesterday with Raspbian so I assume its all up to date.
PS i'm about to read the below info I saw mentioned in an earlier post,