Git 4e 🧩 Ignoring Files
Every repository generates files that should never be committed — build artifacts, dependency folders, editor settings, secrets. .gitignore is how Git is told to look the other way. It’s the file that keeps a repository clean, focused, and safe. Key point: .gitignore only affects untracked files. If a file is already committed, adding it to…