I looked at How do I clone a subdirectory only of a Git repository?, and the top voted answer says to use sparse checkout. But this comment says that it still downloads the entire repo.
Which is correct?
Does sparse checkout affect fetch, or does it just affect checkout?
In other words, if I have a 10GB Git repo (compressed), will I still download the entire 10GB when fetching from the repo from the first time, even with sparse checkout?
Yes.
VS
Disclaimer: I am not certain this is correct, but it should help your cause. Sometimes the best way to get a right answer is to post a wrong one.
Using Git Sparse Checkout