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?