Git Hooks Quiz
Multiple Choice Medium
Question
What are Git hooks?
Hint
Hooks are scripts triggered by Git events.
Explanation
Git hooks are custom scripts stored in .git/hooks/ that Git executes automatically at specific points in the workflow (e.g. pre-commit, post-merge, pre-push). They can enforce code quality, run tests, or send notifications. They are local to each repository and not version-controlled by default.
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.