How does git submodule add -b work?
git submodule add -b
After adding a submodule with a specific branch, a new cloned repository (after git submodule update --init
git submodule update --init
git submodule add -b develop --name branch-name -- https://branch.git