GitHub is a Git repository hosting service, but also there many of its own features. While Git is a command line tool, GitHub provides a Web-based graphical interface. It also provides access control and several collaboration features, such as a wikis and basic task management tools for every project.
You can use copying a repository from one userâ€™s account to another by â€œforkingâ€. This enables you to take a project that you donâ€™t have write access to and modify it under your own account. If you make changes youâ€™d like to share, you can also send a notification called a â€œpull requestâ€ to the original owner. That user can then, with a click of a button, merge the changes found in your repo with the original repo.
So let’s start to know that how to host files on Github easily.
Simply go to GitHub.com and signup by filling some requested information like username, E-mail ID, password.
Create new space where your files and commit will stored, it’s called repository so after clicking on sign up button you will automatically redirect to new page there you will see option for creating new repository. for more detail see the screenshot below.
as you seen it to above image Hit on “New Repository” button then you will redirect to new page then fill some required fields to create a new repository for more detail see in to screenshot below.
Now we need to create a simple page, this is important after that you will able to host files, so go to settings and scroll down there you will see the “Automatic Page Generator” button” then click on it and create a page, by fill some required fields also do not forget to add your Google analytics tracking ID for track the visitors and show real time status.
Clicking this icon opens a new file editor right in your browser, then give the file name with .html, .css or as you want to host for more detail see in screenshot below.
Finally click on commit button now your file is successfully hosted , so now right click on your filename and copy link location.
So now your file link will look like this:
so just Change it to :