Question - What does a commit object contain?
Answer -
Commit object contains the following components, you should mention all the three points presented below:
- A set of files, representing the state of a project at a given point of time
- Reference to parent commit objects
- An SHA-1 name, a 40 character string that uniquely identifies the commit object