git checkout old commit with submodules