automatically branch in submodule