add support for git sparse-checkout is a new feature that allows partial checkouts of a git repository.
This can greatly speedup the download and install phase as we can exclude folders that are not needed. Furthermore this allows also to conveniently split mono-repos into multiple packages.