These steps may be followed to create a "vanilla" code branch for your project. This is useful when starting a new Site Factory project — or perhaps you just want to test some platform functionality on a clean Drupal branch running the latest version of Drupal.
Navigate to your Projects directory. Use Acquia CLI to fetch Drupal and create a new project. (You can can then add this to an existing code repository, as a separate branch, to keep things tidy.)
cd ~/Projects
acli new
When prompted, you will select option [0] for the acquia/drupal-recommended-project
.