git: Prepare tests using direct Git invocations for bundled Git
With the upcoming change to enable for bundled Git binaries some of our tests which execute Git directly will stop working because they wouldn't be able to derive the Git exec path. This MR thus prepares for the change by converting all such tests to either use gittest.Exec
or a Git command factory.
Part of #3730 (closed)