In my project I need to use third party code, stored in several Git repositories. My project is also stored in (separate) Git repository. There are several people working wi
A recent thread on the git mailing list includes a patch for how to get a consistent repository state with a single command. It basically calls git submodule update when changing branches.