I have a project that depends on other projects so I use git submodule.
But my project is only interested with latest commit, I don't want all of the commits back to the beginning.
For example openssl zip is 6.6MB but cloning repo is 71.76MB.
I want only the 6.6MB but with advantage of git submodule.
Is there a way out?