git clone --recursive git://github.com/foo/bar.git

in submodule directory
git submodule update --init --recursive

updating the submodule:
remember to commit / push the submodule first. 
the commit / push the containing repo