git submodule prevent detached head