ci: Start testing with git v2.31.0
Git v2.31.0 has been released on March 15th, and Gitaly will probably switch soonish to make that version the minimum required version. While we've already been testing it for the past weeks via our nightly jobs, this commit switches some of our CI jobs over to use git v2.31.0 instead of v2.30.1. Note that this commit doesn't yet switch over our own minimum required version of v2.29.0 -- this will happen at a later stage when we've started to adjust build images across the different projects.