Added a function get_commit_list() which returns a pointer to the first char* in a list of commits which is every commit in the tree.