How to Set Up a Drupal Workflow in cPanel with Git
Unlike other CMSs, the update of Drupal core is not difficult, but somehow complicated because of all the details involved. In this tutorial, we are going to implement a local Drupal 9 installation, and then we will upload (push) this codebase to a central repository on Bitbucket. We will then download (pull) the codebase from this repository to the live server, where the website is going to be stored.
Using this (terminal-oriented) process, you will be able to speed up Drupal core and module updates, and you will follow best practices.
It is assumed that you already have a LAMP stack installed on your system. Furthermore, you require terminal access on your web server.