Implement git tree object parser