First :
git submodule add ...
Then:
git clone ...
git pull && git submodule init && git submodule update && git submodule status
git submodule foreach git checkout master
git submodule foreach git pull
Or:
git clone --recursive git://github.com/foo/bar.git
git submodule foreach git pull