Problem Statement
Define a commit in Git. Why are commit messages important?
Explanation
A commit is a snapshot of staged changes with metadata (hash, author, time). Clear messages explain intent, aid code review, and improve traceability.
Practice Sets
This question appears in the following practice sets:
