"sect1">
<h2 id="_usage">Usage</h2>
<div class="sectionbody">
<div class="paragraph">
<p>To initialize the cache with configurations from the worktree the caller
typically first calls <code>gitmodules_config()</code> to read values from the
worktree .gitmodules and then to overlay the local git config values
<code>parse_submodule_config_option()</code> from the config parsing
infrastructure.</p>
</div>
<div class="paragraph">
<p>The caller can look up information about submodules by using the
<code>submodul