all: use git >= 2.38.5 (#580)
This is to resolve CVE-2023-25652 and CVE-2023-29007.
Additionally we update the gitindex tests to specify the default branch
to use. This was to fix local failures I was experiencing.
Test Plan: go test inside of nix develop. Additionally ensure the
version of git was larger than 2.38.5 when testing.