About:
GitHub is a web-based hosting service for software development projects that use the Git revision control system.GitHub is the open source platform,They provides hosting for software development version control using Git. GitHub belongs to Microsoft,They acquired in 2018 for $7.7 billion.It provides all of the Distributed Version Control and source code management (SCM) Functionalities. It uses Git repositories.
Build for developers:
Components in github:
- Repositories
- Branches
- Pull Requests
- Commits
- Git
Repositories:
Repository means the root folder. It is the place where all the projects and the revisions of all projects are saved. You can own repositories individually, or you can share ownership of repositories with other people in an organization.
Repositories can be public or private. Public repositories are visible to everyone. Only the owner and collaborators can view or contribute to a private repository.
You can collaborate on your project with others using your repository’s issues, pull requests, and project boards.
Branches:
Branch is the copy of Master branch. GitHub branch is used to work with different versions of a repository at the same time.
New Branches are for bug fixes and feature work separate from the master branch. When changes are ready, they can be merged into the master branch. If you make changes to the master branch while working on a new branch, these updates can be pulled in.
Pull Requests:
Pull requests are the way to tell the changes in their program errors(ie,bugs) to correct the program. Once the pull request is sent,you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.
It show content differences, changes, additions, and subtractions in colors (green and red).
Commits:
In Github, commits means Changes.If you commit anything on github, It needs proper description.