git-cmd: set the TERM appropriately to avoid warnings from 'less'