If you haven't updated git since 2023-01-17, it might be a good idea to do so.
OSTIF: Results of Git Security Audit"...For this portion of the research a total of 35 issues were discovered, including 2 critical severity findings and a high severity finding. Additionally, because of this research, a number of potentially catastrophic security bugs were discovered and resolved internally by the git security team. ..."