Ruby on Rails, Java
Cloud, NoSQL, Horizontal Scaling
Most of the current CMSs mix their "bare" source code with configuration data, third party plugins, themes, etc. One example is Drupal where your settings.php configuration is found under the sub folder sites/default, third party themes under themes and third party modules under sites/all/modules. If you want to have your code in a version control system and at the same time support easy updates to all those software parts, a clever setup is required.
Wordpress is similar, e.g. the "wp-content" folder - hence the approach shown also applies to Wordpress.