Shallow clone support.

Allows for cloning a minimal number shas, which is helpful for larger repos.