设置ssl后,改了git的文件夹,导致上面报错的CAfile的文件夹下没有ssl相关文件,按照路径将相应的ssl文件拷贝过去即可。

$ git push origin master
fatal: unable to access 'https://github.com/codetwodog/Java-Basic-Code.git/': error setting certificate verify locations:
  CAfile: E:/hexo+github+blog/Git/Git/mingw64/ssl/certs/ca-bundle.crt
 CApath: none