Revert "Rebuild .gitignore, turn off line ending normalization"

This reverts commit 815dbd68a6a2499e11fe21afa35155e19ddb2d1e.