.git*: add gitattributes and gitignore
For users of the git mirrors, lets provide useful git configuration files.