jekyll new site-name --blank
cd site-name
#GEMFILE
source "https://rubygems.org"
gem "github-pages", group: :jekyll_plugins
bundle install
title: Project-name
baseurl: "/site-name"
theme: minima
Make sure your are within the project folder
git init
# .gitignore
_site
.sass-cache
.jekyll-metadata
git add .
git commit -m 'init commit'
If not done yet create a remote repository on github and add the remote.
git remote add origin https://github.com/username/site-name.git
git push -u origin master
Activate Github pages through the settings.