Fixed a compile error in VS2013.
Read the submodule branch option from Git 1.8.2.