Tracking branches with submodules

Since tracking of branches is a very common requirement, Git added the option to track a certain branch in its 1.8.2 release. To track branches you specify the branch with the -b parameter during the submodule add command.

This allows you use to use --remote parameter in the git submodule update command.