I have created a new account on GitHub and created a new repository. Now I want to push my localhost project in that repository.
By default it's showing master branch and when I am trying to push code getting this error in command line:
git@GitHub.Com: Permission denied (public key).
fatal: Could not read from remote repository.
These are commands:
git add .
git commit -m "this is my first commit"
git pull origin master
I am not sure why this error is coming.