What is the best way, if any, to do a git sparse-checkout from a python script?
This can obviously be done from the command line as described in this post, or in a py