How does the ionic starters project work?

I was browsing through ionic repositories and I found this one. I understood the use of this but I’m still not able to understand how does this work? How can it clone only the selected submodule? Any explanation on this will be really helpful. Thanks