Defined tree and commit.