Challenge 1
Complete the Git command to inspect a pack index.
git
Press Ctrl⌘Enter to check your answer
Create a disposable repository containing at least two commits. Generate or obtain a pack containing its objects, locate the corresponding `.idx` file, and use `git show-index` to inspect it. Record the first few lines and identify the three fields on a version-2 index line. Then run the same inspection with `--object-format=sha1` and compare the object IDs. Finally, use `git verify-pack -v` on the same index and explain one concrete difference between the two commands.
Challenge 1
git
Press Ctrl⌘Enter to check your answer
Challenge 2
git < .git/objects/pack/pack-<id>.idx
Press Ctrl⌘Enter to check your answer
Challenge 3
git --object-format=sha1 < .git/objects/pack/pack-<id>.idx
Press Ctrl⌘Enter to check your answer
Challenge 4
git -v
Press Ctrl⌘Enter to check your answer