Gitignore Quiz
Multiple Choice Beginner
Question
What is the purpose of a .gitignore file?
Hint
Ignore means do not track.
Explanation
A .gitignore file tells Git which files and directories to intentionally ignore (not track). This is used for build artifacts, dependencies, secrets, and OS-specific files. It does not delete files, store config (that is .git/config), or record messages.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.