Add 'git-trees tree reading function.