Add sample hooks and gitattributes