Creating Repository in GitHub
In this article, we will learn how to publish or upload project in our GitHub account. GIT | An Introduction to Github this article will give you very detailed information about what is GitHub and how to setup GitHub account. We will cover a brief introduction about Github and then we will step by step learn about How to create and manage repository in our GitHub account.
Introduction to GitHub: Git is an open-source version control system. It means that whenever a developer develops some project (like an app) or something, he/she constantly update it catering to the demands of users, technology and whatsoever it maybe. Version control systems keep these revisions straight, storing the modifications in a central repository. It allow developers to easily collaborate, as they can download a new version of the software, make changes, and upload the newest revision. Every developer can see these new changes, download them, and contribute.
Relation between git and GitHub: Github is web-based version control system and collaboration platform for developers. It is the center around which all things involving git revolves.
- Git vs Github: There is a common misconception that Git and Github are same. Git is used to storing the source code for a project and track the complete history of all changes to that code, while GitHub is a cloud-based platform built around the Git tool. The major difference is that git is software that a developer can locally install on it machine to manage source code while GitHub is an online service to which developers who use Git can connect and upload or download resources. Github is hosting service for git repositories.
Below are the sample project files which we want to upload:
Creating Repository step by step without command:
Hosting GitHub repository: GitHub Pages are designed to host your personal, organization, or project pages from a GitHub repository. As we already have the repository, we only have to activate our pages.
Note: We can also add an existing project to GitHub by using the command line.
Git- Setting up a Repository already gives an idea about how to set up a repository using git. You can go through this article too. However, GitHub provides a very easy option to do all this without using the command line as discussed above.