Follow this guide from GitHub https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
The important part is the end, where you can start local server to see the site.
bundle exec jekyll serve
Then when you validate your changes locally, send pull request.