script from here

http://stackoverflow.com/questions/11258737/restore-git-submodules-from-gitmodules

that (partly) restores submodules from a .gitmodules file