Can I use Git and host the website on Github pages? Will it run?
Git is a local installation. And whether you use Jekyll, you still need to push files on a GitHub repo, remember, GitHub is web-based, meaning it’s online.
Your question is just like you are asking if the
localhost can be accessed through the Internet, it can be but you need to make it available through the larger Internet by port forwarding then securing a domain.
Oh ok. I found many working git. So I can use git for my github pages so other stuff can work.
yup, you still push those to a GitHub repo, that GitHub repo will be turned into a site, then you already have your site
Oh ok. Thanks for the info. Although I still confused how to paste it to a code
just to give you an idea, Git was created for Linux developers to collaborate, so that housekeeping would not be done manually, just like if there are a hundred developers and each would change a specific file, of course, you as part of the team, you would find it difficult to find their changes,
now what is missing is that, Git is just a revision control, but there was no centralized space so that each would be seeing each others work, from time to time, they would be downloading the codebase and have their changes locally then send the changes to the maintainer/s, then he/she/they would decide whether they would accept such changes,
so GitHub was created so there would be one centralized space and you don’t need to send an e-mail, simply create a pull request,
check this out,
Oh ok. Thanks for the info. I will check it out.