I trying to set up version control (with git/github) of my q2a-site in a usable way. What I want to be able to do, is to version control all php/css and "some" of the database.
The reason for wanting a version control on the database is that I want to persist all the settings (site name, URL of logo, categories, page settings, etc, etc, etc).
I do not want to version control all the questions and answers and users though. And in fact, I want to be able to have different versions of the users and questions (e.g. for dev and production) but use the same settings in both versions.
Is there a best practise for this? What I would like to do, is to have all configurations in files rather than in the database, and version control those files...