This visual execution shows how git submodules manage nested repositories. First, you add a submodule to your main repo, which clones the nested repo inside a folder. Then you can checkout a specific commit or tag in the submodule. The main repo tracks this exact commit in its .gitmodules and index. Later, you can update the submodule independently, but you must commit the new submodule commit in the main repo to keep versions consistent. If you don't commit the update, the main repo still points to the old submodule commit, causing mismatch. This process helps manage nested repos clearly and safely.