Wordpress files are numerous. With all the plugins and components of WordPress, its very hard to manage the source code and using a VCS (version control system).
I tried using git for the whole website and ignoring my theme directory as it uses a separate git repo. However, its very time-intensive to deploy the website as I need to export and import the database manually.
Can you share how you manage your WordPress source code and deploy it (perhaps with the ability for a team to work on the same project)?