[Solved] Git/Github Peer's certificate issuer has been marked as not trusted by the user

“Peer’s certificate issuer has been marked as not trusted by the user” error would come when you try to use git URL with a self-signed certificate.

For this, you need to set SSL verify to false in your git config. You can do this in two ways.

  1. Set SSL Verify to false only for specific repo:

    git config http.sslVerify false
    
  2. Set SSL Verify to false Globally:

    git config --global http.sslVerify false