After Setting Up Jekyll Locally, it’s now time to create a Git repository. We will also be using GitHub to host the remote repositry. A Git repository will serve us in two ways.

  1. Because it is wise to have version control and GitHub is great for that.
  2. A Git repository stored at GitHub can be generated into hosted website complete with a custom domain name.

Move into the Jekyll project directory

~ $ cd

Create a Git repository for the Jekyll project.

~ $ git init

Create a remote repository at GitHub which we will push our local repo up to..