When I am using the command git push -u origin master
, I get the error
Permission denied (publickey)
fatal: Could not read from remote repository
Please make sure you have the correct access rights
and the repository exists.
I am using Windows 10.
I guess I am not logged in correctly.
I have seen the answer at GIT push: permission denied (public key), but I cannot use the command ssh
. I guess it is because I am on a Windows machine.
Besides, Github says that https is recommended in favor of using ssh.