Copy .gitignore and .gitattributes into docs/.