Git for AI Projects
git init, .gitignore for data/models, committing notebooks, DVC for data versioning.
Git in AI Projects
Git tracks changes to your code so you can collaborate, revert mistakes, and review history. But AI projects add a twist: huge data files and binary models do not belong in Git.
This lesson covers a sensible .gitignore and using DVC for data versioning.
What Git Tracks Well
Git shines with text: source code, configs, notebooks (with cleared outputs), and docs. It stores efficient diffs of text files.
It handles large binaries poorly — every version is stored in full, bloating the repository forever.