Lookup a tree entry by SHA value.
This returns a git_tree_entry that is owned by the git_tree. You don't have to free it, but you must not use it after the git_tree is released.
Warning: this must examine every entry in the tree, so it is not fast.
the tree entry; NULL if not found