Register commits in submodules