title: git push returns remote: TERM environment variable not set
body: <p>For some reason whenever I do a git push it returns:</p>
  
  <blockquote>
    <p>remote: TERM environment variable not set.</p>
  </blockquote>
  
  <p>I've added </p>
  
  <pre><code>export TERM=linux
  </code></pre>
  
  <p>to both <code>~/.bash</code> and <code>~/.bashrc</code> but it doesn't seem to make any difference. I was having similar problems with <code>rsync</code> last week but ended up giving up.</p>
  
  <p>Any ideas?</p>