add .gitattributes and .gitignore files.  Try to solve line-ending issues