title: Is there a way to determine the line endings in a existing git repo?
body: <p>Is there a way to determine the line endings in a existing git repository?</p>
  
  <p>If I clone a existing repository how do I determine what core.autocrlf was used by the creator?  </p>
  
  <p>I'm still uncertain whats the best setting for core.autocrlf e.g on a windows box
  (since there are multiple opinions:   <a href="https://stackoverflow.com/questions/2333424/distributing-git-configuration-with-the-code/2354278#2354278">Distributing git configuration with the code</a> or <a href="https://help.github.com/articles/dealing-with-line-endings" rel="noreferrer">https://help.github.com/articles/dealing-with-line-endings</a>)  </p>
  
  <p><strong>Bonus question:</strong> Can you determine on windows (with standard tools) if a repo has mixed line endings (by wrong core.autocrlf setting) through all commits?</p>