Refactored the printing of commit details into an own function.
Made print_commit() public.
Did first work on git show command.
Function print_commit() now optionally prints the tree id.

This makes another test case working, though "git show" is still far
from being working.