In this chapterChoose the tools for parallel work and larger repositories.
| Feature | What it’s for |
|---|---|
| Worktrees | Work on two branches at once in separate folders. |
| Submodules / subtrees | Repos inside repos. |
| Git LFS | Large files: download, track a type, lock/unlock, move existing big files to LFS. |
| Sparse checkout | Check out only some folders of a huge repo. |
| Hooks | Turn Git hooks on or off. |
| Line endings | Find and fix CRLF/mixed line endings. |
| Encrypted files | git-crypt lock/unlock; sops files listed. |
| Dev containers / Codespaces | Open the repo in one. |
| Remove untracked files | Cleanly, with Restore. |
| Speed up this repo | File monitor, background maintenance, build the commit-graph, and a hint when maintenance would help. |
| Bundles | The whole repo as one file. |
Need another approach?Find a fix →