You need to give us a little more information about the structure of your file directory and possibly which platform you will find useful.
Also note: if you just created a free github account, clicking on your site will make the publication public. Just to think.
But basically, all you need to do to host the site on github is: 1) Go to the root directory of the site 2) Follow the instructions on github to create an open git repo 3) Run git add., Git commit -m " commit, git click
And you have to do it! Especially if you have already pushed things to the site, you have already taken care of setting up the RSA key and things :)
source share