Update your git!
also, the desire I've had for some time to see a #rustlang impl of the parts of git in widespread use exist and get significant traction is only increasing. It would prevent classes of security vulnerabilities, and also likely make the Windows install & support situation significantly easier (maybe just expect people who need git hooks to also install msys2). https://github.blog/2023-01-17-git-security-vulnerabilities-announced-2/