title: indentation configuration only for some files
body: <p>I want to use</p>
  
  <pre><code>git config core.whitespace tab-in-indent,tabwidth=4
  </code></pre>
  
  <p>I want to have these settings for c++ files, so that I get warnings when there are wrong indentations when I use git diff. However, I have also Makefiles which need tabs. Is there a way to configure different whitespace settings for different files?</p>