title: How to solve git@github.com: Permission denied (Public key) problem?
body: <p>I was working with git to commit my files and folder to new repository. Everyone time when I was pushing my code it asked for username and password (which is github token for me). To avoid this I read solution on <a href="https://stackoverflow.com/questions/8840551/configuring-user-and-password-with-git-bash">Configuring user and password with Git Bash</a> given by @manojlds.</p>
  <p>So I ran this command:
  <code>git remote set-url origin git+ssh://git@github.com/username/reponame.git</code> after reading it.</p>
  <p>Now when I am pushing my code it <strong>neither the problem is solved nor it is giving me option to enter username and password(token)</strong></p>
  <p>After doing <code>$ git push</code> it is showing this</p>
  <blockquote>
  <p>git@github.com: Permission denied (publickey). fatal: Could not read
  from remote repository.</p>
  <p>Please make sure you have the correct access rights and the repository
  exists.</p>
  </blockquote>
  <p>What should I do to revert it back and so that at least I can enter username and password(token) and upload my files and folder.</p>