add .gitignore and .gitattributes for consistency