GitHub is a web-based platform for version control and collaboration that allows developers to store, manage, and share their code with others. It offers a range of features for code management, including a web-based interface for managing Git repositories, code review tools, issue tracking, and project management. GitHub is used by millions of developers around the world to collaborate on open-source projects, work on team projects, and showcase their coding skills to potential employers.
GitHub Pages is a free web hosting service provided by GitHub that allows users to host static websites and web apps directly from their GitHub repositories. With GitHub Pages, users can publish HTML, CSS, and JavaScript files directly from a repository on GitHub, and the website will be accessible online.
GitHub Pages supports multiple custom domains, HTTPS encryption, and can be used with Jekyll, a popular static site generator. Users can also use GitHub Pages to create and host websites for personal or project use, including blogs, portfolios, documentation, and more.
Step 1:
Create a GitHub account: If you don’t already have a GitHub account, create one.
Step 2:
Create a new repository on GitHub: If you haven’t already, create a new repository on your GitHub account.


Step 3:
Create your static website files, such as HTML, CSS, and JavaScript, and put them in a folder on your computer and push it to Github.
Not sure how to push it to Github, check out my article: https://satyam-arya.click/pushing-local-repository-to-github/
Step 4: Enable GitHub Pages:
Go to your repository’s Settings page, and scroll down to the GitHub Pages section. Select the branch that you want to use as the source for your website (in this case, master branch), and click “Save”.

Click on your URL to see your website online.
In conclusion, GitHub Pages is a simple and convenient way to deploy static websites and showcase your work to the world. With just a few simple steps, you can deploy your website to the web and make it accessible to anyone with an internet connection. GitHub Pages is free to use and offers a range of customization options, including custom domains and more. It is an excellent option for developers who want to quickly and easily deploy a static website without having to worry about the complexities of web hosting. Overall, GitHub Pages is a great tool for developers who want to showcase their work and make it accessible to the world.