Make sure .gitattributes files are not added as data
This works in my local testing. I'm not sure if I need a ^
at the beginning of the regex or not. But I tested that .gitattributes
is not added while other files that don't start with . are added. So this seems to work.