Dear web developing professionals and seniors,
I have started developing WordPress websites with Divi and after one year I want to bring it to a professional level.
For this I want to establish a development environment like the following:
GIT version controlled WordPress development with
- a local environment
- a remote development branch
- a test branch
- a production branch
Using the hosters DreamHost for Dev and Test and Siteground for Production, I have already Git repositories available.
But when cloning or working with the websites, it seems like many files and especially the Databases DB are not cloned and not acessible for GIt development.
Do you professionals and seniors know best practices how to develop logic and content of a WordPress website, get GIt diffs, make commits and pushs, then let others clone from remote branch and they get everything including the Database onto their local environment etc.
Thank you very much and with much love.