This is a quick guide to debug potential line ending weirdness.
Note: I've thrown a lot of concepts in here around Git data structures without going into depth. If there's things that are unclear or you'd like some more details, just leave a comment and I'll either reply or expand on this post accordingly...
What sort of weirdness am I referring to? Consider this commit: https://github.com/dalefrancis88/Windsor/commit/e2543e5573781c7ded83166932c9c415feef11c0
While it looks like a very large commit, the contents of the file are unchanged. But the diffs are very intimidating.