How to change tab width in git diff? : <p>The standard spacing for a tab is 8 characters.</p>

<p>I prefer to view that as 4 characters in my editors and console. I can easily change this default behavior on console with the <code>tabs</code> command:</p>

<pre><code>tabs -4
</code></pre>

<p>However, when using <code>git diff</code> or <code>git show</code> it displays in the default 8 character tab whitespace.</p>

<p>How can I get <code>git diff</code> to render tabs as 4 character spaces?</p>
