Use -c after the git call, before any other options:
e.g. to override your core.pager="less -r" setting:
git -c 'core.pager=cat' log -n 3 --abbrev-commit
(source)
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.