From this [comment](https://github.com/actions/checkout/issues/1378#issuecomment-1590159300) and after some digging a figure out that `sparse-checkout` won't work on a git version between `2.25` and `2.28`. > You can see the commit of git [here](https://github.com/git/git/commit/1033b98) where I find out in which version that error stop to be a problem Before `2.28` in order to use `--filter=<filter>` on the `git fetch` the `extensions.partialClone` config had to be set in order to be able to use it... Therefore in order to solve this we have 2 solutions: 1. Change the required version to `2.28` 2. Update the current implementation to solve this use case What do you think about this @dscho?