Protect changes made to the theme when updating

I customized the wordpress theme I’m using by changing php, css and even a js file. Is there a way to protect these changes, when updating the theme to a new version?

Solutions Collecting From Web of "Protect changes made to the theme when updating"