Thank you for your prompt reply.
If I understand correctly, I need to have a backup of my theme in which I am making changes directly in the theme.
At this point even if I do a backup when a y ‘will update, I can use my backup and recover the changes before saving.
😉