git log uses more or less for paging the output.
git log
more
less
You can press q to stop more/less and drop the remaining output.
q
Ctrl-C is the entire answer, though it's too short to go in this field.