tests: suppress some git-specific output
The latest version of Git, 2.34, seemed to change something with relation to the default strategy. As long as the hashes remain the same, we don't care.
In addition, it seems to have some logic related to templates, and might warn if the directory doesn't exist. Suppress that.