I have a public key with GitHub. Just made it today. I closed Git and launched it back again and now its not pushing my projects. It generates the following error:
Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
As well when I try executing the following command: git remote add origin I get the following message: fatal: remote origin already exists.
Can someone please help. I have spent a lot of time trying to use suggested solutions on here, but none worked for me. Lastly, do I need to initialize Git to my public key directory and make sure access is successful to GitHub every time I launch Git?