A simple replacement of git submodule foreach command.