Fix config setting for external diff. Add the .gitattributes for this repo