I have created a private repo in github and when I am trying to clone it using cmd (git), I am prompted with github window where I enter my username and password. It says login failed in the cmd and then asks username/password in the cmd. I enter the credentials again and press enter. I get error like fatal: Authentication failed for
I performed the above operation using https. when I tried with ssh, i get this error git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
How can I clone this private repository?