What do you keep in git?

Hi! I’m currently setting up my first Kirby project.

I’m confused about how to best manage changes to content, templates and settings.

I can either:
A) make changes directly on the server (via the panel or editing files directly) and back them up, or
B) make changes in a git repository and push them to the server.

Method A seems great for all content creation and some admin tasks like adding users, Method B seems better for all those settings that require editing a configuration file.

It’s not obvious to me how to combine them, though.

My question: how do you handle this in your projects? Is there a third way I’m missing?

There are already some answers to this question:

Try: Search results for 'content in git' - Kirby