refactor GitTree, and tree tests.  Move treebuilder to tree.jl