title: git submodule not pulling files in submodules
body: <p>I thought I had it all worked out with this new project and thought that git submodules are the way to to develop and deploy my application.</p>
  
  <p>Set up my git repo (Drupal) and initialized it with the 7.12 tag of Drupal. Made my own branch. Then added the modules that are needed under sites/all/modules/contrib with
  git submodule add --branch 7.x git://path/to/drupal/module sites/all/modules/contrib/module</p>
  
  <p>and then I thought, by pushing my repo to github, I would be able to simply pull it and then it would pull all the submodules into the deployment path. However, all my modules are not pulled, even if I do:
  git submodule foreach git pull
  or
  git submodule init
  followed by
  git submodule update</p>
  
  <p>Turns out, I was wrong. Do I now need to redo everything in another way? If yes, please tell me how, if not, great, please let me know.</p>