Fetches an arbitrary set of repo paths at a ref via partial clone + sparse-checkout.
Clone opts.Paths from opts.RepoUrl at opts.Ref into a fresh temp dir.
opts.Paths
opts.RepoUrl
opts.Ref
If the repo/ref is unreachable or neither clone strategy succeeds.
Fetches an arbitrary set of repo paths at a ref via partial clone + sparse-checkout.