**Theoretical Recap** A .gitignore file tells Git which files and directories to intentionally leave untracked. When Git scans your project folder, it reads .gitignore and skips anything matching the listed patterns — those files never appear in git ...