main/git: fix and enable tests

7 jobs for !7000 with 3.11/git-enable-tests in 4 minutes and 34 seconds
merge request