Hi there,
This doesn’t seem to be a Gutenberg issue. If you want to make changes to theme files, it would be best to create a Child Theme first, so you changes won’t be overwritten, when the themes is updated.
The WordPress Codex has some more information about how to create a child theme
Not sure if that answers your question. If not, try again and provide us with more information, ie. link to your site.