Step 1

git add .

Step 2

git commit -m"how to push local website to github ..."

Step 3

git push origin master

The command to set local server: jekyll serve