add .gitattributes and sort out files