I just found out that git has a "sparse checkout", which allows checking out just part of a remote directory.
Now I just need an updated libgit2, with Rust bindings updated, and then I can move the company database from Mongo to Git and make A TON of people happy.
The note about sparse checkout: https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout/
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!