To adding the --recursive parameter to the git clone command will initialize all submodules.
git clone git@github.com:it-hms/cert-flexy-demo.git --recursive
It's also possible to initialize modules after they have been initialized
$ git submodule update --init