Challenge 1
Complete the Git command to construct a tree object.
git
Press Ctrl⌘Enter to check your answer
In a disposable repository, create at least two files and commit them. Obtain the commit's tree with `git rev-parse HEAD^{tree}`. Pipe its non-recursive `git ls-tree` output into `git mktree` and prove that the resulting object ID matches the original tree. Repeat with `-z`, then create a tree input that references a deliberately missing object and demonstrate the difference between default behavior and `--missing`. Finally, build two trees with one `--batch` invocation.
Challenge 1
git
Press Ctrl⌘Enter to check your answer
Challenge 2
git [-z] [--missing] [--batch]
Press Ctrl⌘Enter to check your answer
Challenge 3
git < tree.txt
Press Ctrl⌘Enter to check your answer
Challenge 4
git --missing < tree-with-missing-object.txt
Press Ctrl⌘Enter to check your answer