Git install tip for Windows installations: “”
Posted by jpluimers on 2020/07/21
When installing Git on Windows, you might want to change the default HTTPS transport back-end setting into “Use the Windows Secure Channel library” as it will use the Windows Certificate Stores for certificate validation. For Windows users, this allows for a more natural way to configure additional Root CS certificates (for instance the ones coming from Active Directory Domain Services).
If you later want to change this, then you can either re-run the installer, or perform these commands (based on the installer source):
To select the OpenSSL library:
config --system http.sslBackend opensslTo select the Windows Secure Channel library:
config --system http.sslBackend schannel
I do need to check out other ways of installing it (more on that in [WayBack] 5 Ways to Install Git on Windows · James Sturtevant), but for now I’m using the regular installer.
At first time install (subsequent installs will re-use the first-time install location without a way to overwrite them):
- If you run that “As Administrator”, then it will install for all users (64-bit in
C:\Program Files\Git, 32-bit inC:\Program Files (x86)\Git) - Otherwise in
%LOCALAPPDATA%\Programs\Gitwhich usually is inC:\Users\<username>\AppData\Local\Programs\Git).
Note that the actually executables are inside a bin subdirectory of the installation path.
–jeroen







Leave a comment