This always perplexes me. I was cloning this
git clone https://android.googlesource.com/kernel/msm.git
And It seemed to be cloning resolving
After your first clone, if you have directories that are submodules of the parent repo, you need to initialize them with:
git submodule update --init
Using git submodule update --init --recursive will also be needed if there are submodules inside submodules.
git submodule update --init --recursive