Quick fix to Git's fatal 'unable to access SSL certificate' error
Unable to access SSL certificate fix
You may run into the Git ‘unable to access GitHub or GitLab’ SSL certificate settings error when attempting to clone a repository. There’s a quick fix you can run at the command line:
git config --global http.sslverify "false"
That will turn off SSL during the git clone operation and allow you to push and pull back and forth to your server.
Of course, with SSL turned off, your secrets may not be safe. Any old packet sniffer on the network might capture your git clone operation and discover your organization’s commit history. So be sure you’re not violating any security policies of your organizations when you do this. But if it’s just a public project you’re cloning, I wouldn’t worry too much about SSL.