It’s a good idea to take a theme backup before installing apps or making code changes.
That way, you always have a good version to switch back to if something goes wrong.
The easiest way to take a theme backup is to duplicate the theme.
Info
For more details on duplicating your theme, please see this Shopify document