Added .gitattributes and .gitignore to prevent errors