Trouble with Git Submodules
They mean trouble anyway, but here’s a new trick that Git has up it’s sleeve. The problem appears when a submodule does not have a master branch, because you named (or someone else who created the submodule) the branch main, as everyone says you …