title: Suppress all git warnings
body: <p>I'm calling git log from MATLAB to find out last commit hash and get a <em>'terminal is not fully functional'</em> warning.</p>
  
  <p>I don't want to fiddle around various git settings or exporting the right TERM variable (tried TERM=dumb - didn't work).</p>
  
  <p>Is there a way to supress <strong>all</strong> git warnings, or at least make git not require pressing enter after each of them?</p>