git fix detached head in submodule