Detailed steps for hosting your static website or project repo on Github using Github Pages.
brew install ruby
gem install bundler
bundle install
git init
git remote add origin https://github.com/username/repo.git
bundle exec jekyll build
bundle exec jekyll serve
git commit -m "your commit message"
git push
settings
of your repository and under GitHub Pages section, select your Source.