This is an issue with curl in this specific Git release. You have to update to a newer version manually.
https://github.com/curl/curl/issues/13845#issuecomment-2453436283