exit from git log code example Example 1: how to get out of git og Type q to exit git log Example 2: exit git log Exit git log: q