Add .gitattributes and resource file