I have cloned git project into local git repository. Then I have done something nasty to one of the files and in that panic I deleted file physically from drive (rm style.
rm style.
I intentionally deleted some files from a clone --depth 1 and this brought the main files, and submodule ones, back.
--depth 1
git checkout . -f && git submodule update --checkout -f