Writing a binary search tree using git