How to apply json template for a specific product/blog/page on a locale environment?

Hi!

Let’s say, my shopify store is created with a customised theme connected to github repo, and current theme is set to “main” branch.

and I’m developing on a “develop” branch on a local environment.

Let’s say, I create a news templates file, like blog.news.json for a specific type of blogs, and I’d like to apply this template on a locale environment WITHOUT merging develop branch into main (because the site is already open).

Can I preview this blog.news.json on a local environment?

thank you