Update Drupal 8 core via composer on your local environment
- Open the terminal app (or the terminal in VS Code) and change to the root site directory of the site you are updating
cd [path/to/site/root/directory]
- Switch to the main branch and fetch the latest changes
git checkout master git fetch --all git pull
- Create a new branch from the main branch for the Drupal core update
git checkout -b update/core-[version]
- Upda