(
                cd work &&
                git init &&
+               git config push.default matching &&
                mkdir -p gar/bage &&
                (
                        cd gar/bage &&
 '
 
 test_expect_success 'push succeeds if submodule has no remote and is on the first superproject commit' '
-       git init --bare a
+       git init --bare a &&
        git clone a a1 &&
        (
                cd a1 &&