Patch you Gits!
End of last year I had the big pleasure to work with @marver and @mumblegrepper in a code review of Git.
Here's what we got for you:
https://www.openwall.com/lists/oss-security/2023/01/17/4
https://x41-dsec.de/security/research/job/news/2023/01/17/git-security-audit-ostif/