Revert "add git attributes and ignore"

This reverts commit d99f2b3978ce0f33eab85e7c61c11b5f234b24a7.
Revert "Revert "add git attributes and ignore""

This reverts commit fb68be42306f82f2941bea665e9549d982d1bfdf.