Another, more general solution, while I stumbled over the same error message.
In your Shell/Environment you can (and have) set a so called Terminal Pager. It's used to view files – for more details, see e.g. Wikipedia or Gentoo wiki.
In your case more
(basic pager, part or util-linux
) is set as the pager.
Try echo $PAGER
in your commandline, it should output more
.
(My) solution is: change the PAGER
environment variable (see this question), use a local existing command (like less
) and your git
is happy (and also all other programs that rely on $PAGER
).