Add .gitattributes

Added the recommended gitattributes file.