Git LFS (Large File Storage) es una extensión para manejar archivos binarios grandes (vídeos, conjuntos de datos, recursos de diseño, binarios grandes) de forma eficiente en Git. Git está diseñado para texto/código fuente y maneja mal los binarios grandes, así que LFS los almacena por separado mientras mantiene referencias ligeras en el repositorio.
El problema: Git y archivos binarios grandes
Git stores every version of every file in its history (the full content):
→ LARGE BINARY files (videos, datasets, PSDs, big binaries) bloat the repo ENORMOUSLY:
- every change stores another full copy (binaries don't diff well)
- the repo and EVERY clone become huge and slow (clone/fetch download all history)
- history can't be shrunk easily (the large blobs are permanent)
→ Git is great for source code (text, diffable), POOR for large binaries.
