When git core.pager is blank, fall back to PAGER.  If that's blank, fall back to less -R.