

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: Different Hashes
incomplete
2: The Plumbing
incomplete
3: The Object File
incomplete
4: Cat File
incomplete
5: Trees and Blobs
incomplete
6: Second Commit
incomplete
7: Storing Data
incomplete
This lesson's interactive features are locked, please to keep using them
So far we've been using Git in a "porcelain" manner. But to sate our insatiable curiosity, let's take a look at some of the "plumbing".
All the data in a Git repository is stored directly in the (hidden) .git directory. That includes all the commits, branches, tags, and other objects we'll learn about later.
Git is made up of objects that are stored in the .git/objects directory. A commit is just a type of object.
git log -n 10 to find your commit hash again.ls -l .git/objects to list the contents of the .git/objects directory.ls -al .git/objects/XX/ (replacing XX with your two characters) to list the contents of that directory. You should see a file whose name is the remaining characters of the hash. For the question, provide the full path to that object file (not just the directory).