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
You may want to try git subtree (alt link) instead. I’ve had a lot of luck with it, using both remote repos and clean (untied to master
history) branches in my project.
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.
http://thread.gmane.org/gmane.comp.version-control.git/130155/focus=130330