add git attributes and ignore.