Update and rename .gitattributes to code