As far as I’m concerned, Tower is the best Git client that money can buy. It’s fully featured, well-designed, and it even has Git embedded within it. I don’t even bother with installing plain vanilla Git on Windows anymore. I just update the
PATH environment variable to point to Tower’s git.exe, and I’m done.
Well, not quite. I had an issue with SSL certificates when I was trying to use Scoop, which uses Git internally. Here’s the message I got (slightly reformatted for readability’s sake):
PS> sudo scoop bucket add extras
'https://github.com/lukesampson/scoop-extras.git' does not look like a valid git repository
fatal: unable to access 'https://github.com/lukesampson/scoop-extras.git/':
error setting certificate verify locations:
CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
git.exe was looking for this
ca-bundle.crt file in a default location that didn’t exit on my machine, due to using Tower’s embedded git and all.
After some googling with DuckDuckGo I found an ancient post titled “msysGit error setting certificate verify location” that had the solution. I simply ran the following command in PowerShell (reformatted for readability):
PS> git config --global http.sslcainfo \
"C:\Program Files (x86)\fournova\Tower\vendor\Git\mingw64\ssl\certs\ca-bundle.crt"
And that solved it for me. I reran the Scoop command from before and it worked without a hitch.