# If you cloned without submodules, run this to update all submodules
git submodule update --init
git clone --recurse-submodules git://github.com/foo/bar.git
# This will clone a repo with all submodules included
git clone --recurse-submodules
git clone git://github.com/foo/bar.git
cd bar
git submodule update --init --recursive
git clone --recurse-submodules
git clone --recurse-submodules <repo-url> .
git clone --recursive YOUR-GIT-REPO-URL