title: sourcetree line ending issue
body: <p>I am getting a very strange whitespace issue.</p>
  
  <p>I am working with a local copy of a WordPress site with the .git repo in the wp-content/themes folder so all changes to any theme are tracked etc.</p>
  
  <p>When I set up the repo it considered every file (apart from those in gitignore) as new files and I committed those as the 'initial commit'. </p>
  
  <p>Firstly is that normal? To have to commit all the files when setting up a new repo?
  2nd - and this is the strange behaviour.</p>
  
  <p>when I go to stage these files I get some whitespace inserted after the first character on many of the files.</p>
  
  <p><img src="https://i.stack.imgur.com/n1qBY.jpg" alt="enter image description here"></p>
  
  <p>I am thinkng this si something to do with line endings. I have my global config set to autocrlf = true also I have tried </p>
  
  <pre><code> autocrlf = true
   eol = native
  </code></pre>
  
  <p>In my local git config. .gitattributes is set to :</p>
  
  <pre><code>* text=auto
  </code></pre>
  
  <p>as advised by <a href="https://stackoverflow.com/questions/9976986/force-lf-eol-in-git-repo-and-working-copy">Force LF eol in git repo and working copy</a></p>
  
  <p>Nothing is helping so far. I am working on a windows machine, but the files were tarred from a linux server and just untarred into the directory.</p>