code refactor
add .gitattributes and .gitignore