I think that the Bash loops and such are gratuitous. If people are here to learn about submodules, I don't think they should have to be that familiar with Bash. It also just makes it harder to read. I'm certainly unfamiliar with some part of Git if I'm here, and being unsure about what git command bash is generating makes the learning process a bit more cumbersome. In short, I think extra potentially new concepts should be cut down.