created a gitlog helper function that prints the pretty graph to the console