New blog and theme

I have just made my first Hugo theme which is mainly for my own site. I now have two Git repos. One for the website content and one for the theme.

My question is this: what is the advantage of using git submodule? I’m pretty new at Git as well so I’m not entirely clear.

The advantage of using a git submodule is that you can develop the theme separately from your website, and use it (even different versions of it) on different websites, being able to easily update it on each website.

Thank you very much!