How to develop discourse in a team?

For example.

Now I have Discourse configured
Then, when everything is ready, I update my build.

Then I continue the development again. I’m changing some settings in the control panel. There can be a lot of them.
When I want to update my build, I will need to update the settings as well

In this case, I will have to manually set the settings