Add .gitattributes and .gitignore to skip SF-related files.