Read the fetchRecurseSubmodules rule for a submodule.
This accesses the submodule. <name>.fetchRecurseSubmodules value for the submodule that controls fetching behavior for the submodule.
Note that at this time, libgit2 does not honor this setting and the fetch functionality current ignores submodules.
0 if fetchRecurseSubmodules is false, 1 if true