克隆GitHub Repo错误:设置证书验证位置时出错

克隆GitHub Repo错误:设置证书验证位置时出错,git,github,pem,Git,Github,Pem,我是一个新的git用户,试图学习Lynda.com教程。我发布了教程的确切命令。我使用的是Windows10,git版本1.9.4.msysgit.2。我从Github复制了以下url(来自所需的Github Repo),并发出了以下命令,收到了以下错误 owner@LAPTOP-0FP78GPS /c/users/owner/Documents (master) $ git clone https://github.com/kevinskoglund/explore_california.gi

我是一个新的git用户,试图学习Lynda.com教程。我发布了教程的确切命令。我使用的是Windows10,git版本1.9.4.msysgit.2。我从Github复制了以下url(来自所需的Github Repo),并发出了以下命令,收到了以下错误

owner@LAPTOP-0FP78GPS /c/users/owner/Documents (master)
$ git clone https://github.com/kevinskoglund/explore_california.git lynda_version
Cloning into 'lynda_version'...
fatal: unable to access 'https://github.com/kevinskoglund/explore_california.git/': error setting certificate verify locations:
  CAfile: C:\Program Files\Git\mingw64\ssl\cert.pem
  CApath: C:/RailsInstaller/Git/path/to/cacerts

您必须找到证书文件路径:

D:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt
配置Git路径:

git config --system http.sslcainfo "D:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt"
或者完全关闭SSL检查:

git config --system http.sslverify false

“Git版本1.94.Mysgit。2”-这是非常旧的Git,请考虑从一加一安装一个用于关闭SSL检查的更新。