I was trying to reproduce the few tutorial steps from:
https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout
Which was made fo
Here is a solution that will populate only files in the root folder:
$ git clone --filter=blob:none --sparse https://github.com/derrickstolee/sparse-checkout-example
Then subsequent sparse-checkout calls work like a charm.
Still no idea why the tutorial is broken.