Follow-up from "Temporarily revert to Git 2.45.0 for nightly builds environment"

The following discussion from !1222 (merged) should be addressed: