Creation of .gitignore and .gitattributes

Use of the samples from git. Modifications perhaps necessary.