Add .gitignore and .gitattributes.
