I am using git for various projects. But when we think to use it for WordPress, Personally I feel so many challenges related to database management for various versions. It will be more clear to me if anybody explain it to me that how we manage database for various versions for our development server, QC server and also at production in case of WordPress.