Update: I mixed two things together: the first line actually points to the directory (as very well explained in the answers below), and the second line points to parent commit. I let the second misled me. Thank you all for your clarifications.
I am learning git, and I was copying the code she does. I was in the subsection called Make a commit that is not the first commit. After she committed, this is what she got (I crossed out her email for formatting reason):
tree ce72afb5ff229a39f6cce47b00d1b0ed60fe3556
parent 774b54a193d6cfdd081e581a007d2e11f784b9fe
author Mary Rose Cook ...
committer Mary Rose Cook ...
a2
And, mysteriously, I got (I crossed out my personal info)
tree ce72afb5ff229a39f6cce47b00d1b0ed60fe3556
parent c96fbf6143ccef645d1cb867b05427c399a9bcb3
author ....
committer ...
a2
Comparing the two hashes for the current tree, it is clear that we both get the same hash (I do follow her code exactly).
So I am very curious about how this is possible? I know git supposedly hashes the snapshot of that moment, but my megadatas are surely not the same as hers. May someone knows what happens?