You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Git for Windows upgrade to UCRT64 leaves stale http.sslCAInfo pointing to MINGW64 #6547
@dscho I don't know what happened, but this happened on both my computers, that I updated independently. Maybe something relevant is that I'm updating with winget?
@nidrissi could you repeat the upgrade (with winget) by first forcefully downgrading, verifying the sslCAInfo path, verify that you see the bug, then repeat the upgrade with a regular Git for Windows installer (not winget), to see whether this is the crucial difference?
If the ucrt64 file exists and the mingw64 one does not, the stale value in your system config is the cause of the error adding trust anchors failure. From an elevated PowerShell prompt you can correct it temporarily with:
Please note this before repeating @dscho's downgrade/upgrade test above, as changing the system config will affect that test — this is a workaround to restore fetch, not a fix for the installer not updating the path.
Activity
dscho commentedon Nov 9, 2026
@nidrissi Since you reported
you are correct that this should have been replaced, and the logic already exists:
This
MINGW_BITNESSshould be expanded toucrt64in your setup. I have no idea why it doesn't...nidrissi commentedon Nov 12, 2026
@dscho I don't know what happened, but this happened on both my computers, that I updated independently. Maybe something relevant is that I'm updating with winget?
dscho commentedon Nov 12, 2026
@nidrissi could you repeat the upgrade (with winget) by first forcefully downgrading, verifying the
sslCAInfopath, verify that you see the bug, then repeat the upgrade with a regular Git for Windows installer (not winget), to see whether this is the crucial difference?muhammad-tariq-zaman commentedon Nov 17, 2026
As an interim workaround, first check whether the new bundle actually exists:
If the
ucrt64file exists and themingw64one does not, the stale value in your system config is the cause of theerror adding trust anchorsfailure. From an elevated PowerShell prompt you can correct it temporarily with:Please note this before repeating @dscho's downgrade/upgrade test above, as changing the system config will affect that test — this is a workaround to restore
fetch, not a fix for the installer not updating the path.