Create a GitHub-account: https://github.com/
Create a repository on GitHub: https://github.com/
(It has to be public if you use GitHub Free, note that your code will be visible to everyone!)
Clone the repository to a local directory:
SSH
$ git clone --recursive $SSH_URL
HTTPS
$ git -c http.sslVerify=false clone --recursive $HTTPS_URL
Create two directories: docs and localDev.
$ mkdir docs
$ mkdir localDev
Follow instructions on: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll
Deploy: https://jekyllrb.com/docs/step-by-step/10-deployment/
JEKYLL_ENV=production bundle exec jekyll build