Extract full git tree history as … a tree data structure