Summary
This chapter provided solutions to handling large Git repositories, from the use of the Scalar tool to specialized solutions.
First, you learned how to use shallow clone to download and operate on the selected shallow subset of the project history.
Then, you learned how to handle large files by storing them outside the repository or separating them into submodules. The problem of large data in data science projects was briefly mentioned, as were specialized solutions to this problem.
Finally, you learned how to manage large monorepos with sparse checkout, sparse clone, and filesystem monitor.
The next chapter will help you make Git easier to use and better fit it to your specific circumstances. This includes configuring repository maintenance, which is particularly important for making working with large repositories smooth.