Close an open tree
You can no longer use the git_tree pointer after this call.
IMPORTANT: You MUST call this method when you stop using a tree to release memory. Failure to do so will cause a memory leak.
The tree to close