To get the code stored in the submodule, run
git submodule update --init --recursive
To update the module, descend into the submodule and perform the normal git commands to get to the ref you want to use. Go back up, add, and commit.
For more information see http://git-scm.com/docs/git-submodule