add git files to the repo

adds gitignore and git attributes(to normalize file line endings)