A shallow #Git clone with shallow clones of the #submodule’s:

git clone --depth=1 \ --recurse-submodules \ --shallow-submodules \ <URL>

#note

Akkoma