thanks, done with 
```
git filter-branch --force --index-filter \
'git checkout master sklearn/tree/_utils.c' \
--prune-empty master..sparse-tree
```