Detail instructions on manually updating message templates (5.9.0 to 5.10.4)
It links to an old wiki page that redirects to https://docs.civicrm.org/user/en/latest/email/message-templates

Note it doesn't tell you what your customizations were before. You would need to know that separately or look at a backup.