You’re in the
less program, which makes the output of
git log scrollable.
Type q to exit this screen. Type h to get help.
If you don’t want to read the output in a pager and want it to be just printed to the terminal define the environment variable
cat or set
git config --global core.pager cat).