Use custom-built Git for tests
This MR changes our test setup to always use a custom-built (or custom-downloaded) version of Git. This allows us to easily swap between different versions of Git for tests and makes us independent of GitLab build images' Git version.
Edited by Patrick Steinhardt