[3.20] main/git: upgrade to 2.45.2
This backports the git upgrade to the stable branch, as the 2.45.1 has a really annoying bug which makes it unusable in combination with git-lfs.
See https://github.com/git-lfs/git-lfs/issues/5749 for details.
(cherry picked from commit a698020f)