pretty_print_commit: add different formats