Adding .gitattributes file.
Also adding .gitignore file (suggested by Eduán).