Convert MR checkout tests to newer Stack git tests
(or potentially just re-work them so they can test for the exit codes git sends back)
git commands the exit with 1 are not considered when using our current mocks. See !1765 (comment 2202326591)
Please select the appropriate template for submitting your issue from the dropdown above.