Add method lstree to class Git