# With git 1.6.5+
git clone --recursive URL git://github.com/foo/example.git
# all recursive repos
git clone --recurse-submodules -j8 git://github.com/foo/example.git
# j8 = performance/8 parallel, only submodules
# ---------------------------------------------- #
# With older git versions (still works though)
git clone <remote-repo-url>
git submodule update --init
# Same as
# git submodule init && git submodule update