Assuming you have a dummy directory in github:
And within "Directory" have the subdirectories:
Is it possible to clone only "sub1" without having to clone the entire "Directory" directory?
In general it does not roll, one of the characteristics of Git is to be 8 or 80. you have to make certain insulation to work in a granular way, but cloning is a fundamental operation that has nothing to do, it has to drop everything. Git is not a solution to all problems, so some techniques are suggested to avoid these deficiencies (plausible, by the way).
but apparently this has changed :) See the comment posted by Felipe up there. At SO you have , but you have to tweak the original so you can do it, it's still not straightforward. I'll give a study to post better here.