“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.
-
Set SSL Verify to false only for specific repo:
git config http.sslVerify false
-
Set SSL Verify to false Globally:
git config --global http.sslVerify false