checkout: Add test for diff.ignoreSubmodules