Cloning large repositories

When you want to clone a large git repository locally, consider using: git clone --filter blob:none <the_remote_repository> This is so much better than --depth 1 ! Instead, this method still gives you the full commit history but only downloads the file contents on demand, as they are needed. Initially, only the files appearing in the last revision of the default branch are downloaded (to make the…