Construct a chain of three trees.

This is hard! The `git mktree` command might be useful.