Avoid the use of **, which was only introduced in Git version 1.8.2.
Set per file type attributes in .gitattributes to fine-tune whitespace checks. With the associated cleanups, the tree is now clean for git