Git
Version control system: records file changes as snapshots ("commits"), stores history, and allows returning to any version.
Basic Concepts
- repository — a folder under Git control;
- commit — a saved snapshot of changes;
- branch — a parallel line of development;
- push / pull — exchange with a remote repository.
Why in ML
Code and configs are versioned through Git, while heavy data is managed separately (via DVC). Together, this provides reproducibility.
Nuance
Git poorly stores large binary files (models, images). For these, external storage and DVC are used.