Updated .git-files

Updated .gitattribs and .gitignores based on templates from GitHub.