Git nested submodules not syncing

I don’t think this would be possible with Docker, from a previous community post:

… we remove the .git folder on Docker builds as we’ve seen scenarios where it caused issues with buildkit caching when present.

Alan