How it works...

We started off the recipe with initial preparations--making a new repository on GitHub in steps 1 through 3. In steps 4 and 5, we added the .gitignore file. This file will tell Git which files not to track. Files that we do not want to track are most often dynamic files that are created as Jekyll compiles. In this case, the files that need to be ignored are located in the _site and the .sass-cache folders.

Git itself has a system of the so-called "three trees". It is the way that repositories work. To read up more on the subject, check out Packt Publishing's title "Git Version Control Cookbook", available to subscribers at https://www.packtpub.com/application-development/git-version-control-cookbook.

In steps 7 through 9, ...

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.