resolve submodule branch