I'm looking for a way to use git to pull both core and modules. Let's say for example that I clone Drupal core from the Drupal git, and commit to my own git repo; then, I pull a bunch of modules, and also commit to my own git repo.
Is this even possible? Can I have sub folders within a repository that are checked out from a different repository? Can I still use Drupal to keep my code up to date? Perhaps I'm not really understand some git fundamentals.