title: Intellij is not asking Git credentials, but failing during authentication
body: <p>I am using Git with Intellij in Windows 10 environment. For some reason my git credentials are messed up. When I try to fetch/clone, Intellij is not asking me the credentials to enter. It appears as if it is trying to use already stored git credentials. I am getting the following error when I try to fetch :</p>
  
  <blockquote>
    <p>7:58:31.180: git -c core.quotepath=false fetch origin --progress
    --prune</p>
    
    <blockquote>
      <p>java.io.IOException: Authentication failed:     at
      org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:298)   at
      org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:172)  at
      org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:137) Caused by:
      java.io.IOException: Publickey authentication failed.   at
      com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:262)
          at
      com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:443)
          at org.jetbrains.git4idea.ssh.SSHMain.tryPublicKey(SSHMain.java:352)
          at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:231)
          ... 2 more Caused by: java.io.IOException: Invalid PEM structure,
      '-----BEGIN...' missing     at
      com.trilead.ssh2.crypto.PEMDecoder.parsePEM(PEMDecoder.java:138)    at
      com.trilead.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:313)  at
      com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:171)
          ... 5 more fatal: Could not read from remote repository. Please make
      sure you have the correct access rights and the repository exists.</p>
    </blockquote>
  </blockquote>
  
  <p>So, I googled and found various approaches and tried all of them only to find none is working for me. </p>
  
  <p>I tried in the following ways:</p>
  
  <p>1)Removing the credentials stored in Windows Credentials Manager</p>
  
  <p>2)<a href="https://stackoverflow.com/questions/28142361/change-remote-repository-credentials-authentication-on-intellij-idea-14/46609811">Change remote repository credentials (authentication) on Intellij IDEA 14</a></p>
  
  <p>3)<a href="https://stackoverflow.com/questions/25845963/git-credential-helper-update-password">Git credential helper - update password</a></p>
  
  <p>and so on.. Any other thoughts to fix the issue so that the Intellij would ask me the credentials before I fetch/clone my repo?</p>