GIT & GITHUB
GitHub is a web-based hosting service for version control using Git.
what is version control system
A version control system (VCS) is a system that records changes to a file or set of files over time so that you can recall specific versions later. For example, it allows you to revert files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. It is most commonly used for source code management, but can be used to keep track of changes in any set of files.
Types of version control system
- Local Version Control Systems: These are the most basic form of version control, and are usually just a set of files and folders on your local machine or shared network drive. Files are copied or backed up manually, and there is no ability to track changes or compare versions.
- Centralized Version Control Systems: These are a more organized version of the local version control system, and are managed by a central server that all users can access. All changes are tracked by the server, and users can check out and check in files, as well as view the history of any changes to the files.
- Distributed Version Control Systems: These are the most advanced type of version control systems, and use a distributed model where each user has a full copy of the repository, including all versions and history. This allows users to work independently and commit changes to their own local repositories, which can then be synchronized with the main repository. These systems also allow users to easily see the differences between versions, and make it easy to merge changes from multiple users.
What is Git?
Git is a version control system that is used for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development, but it can be used to keep track of changes in any set of files. With Git, developers can work together on a project from different locations, easily track changes to the code, and roll back any updates that cause problems.
Get Gowshisanthiran’s stories in your inbox
Join Medium for free to get updates from this writer.
Git features include:
- Version control — track changes in files over time.
- Branching and merging — create new branches of a project to work on, then merge changes back into the main branch.
- Distributed development — work on the same project from different computers.
- Open source — Git is open source software.
- Security — Git is secure and uses strong cryptographic algorithms to ensure data integrity.
Git work flow
what is GitHub
GitHub is a web-based version-control and collaboration platform for developers. It was launched in 2008 and is used by millions of developers to host and review code, manage projects, and build software. GitHub provides a centralized place to store, organize, collaborate, and share code and other information related to software development. It also offers powerful tools to manage code, such as branching and merging, issue tracking, and code review.
The Usage of GitHub :-
GitHub is designed to make it easy for developers to work together on code projects by providing tools and features such as:
- Code hosting: Developers can upload their code to GitHub repositories, which serve as centralized locations for storing and managing their code.
- Version control: GitHub uses Git, a popular version control system, to track changes made to code over time. This makes it easy for developers to collaborate on code, track changes, and revert to previous versions if needed.
- Collaboration tools: GitHub provides features such as issue tracking, code reviews, and pull requests to help developers collaborate on code projects more effectively.
- Integrations: GitHub integrates with a wide range of tools and services, such as continuous integration and deployment tools, project management tools, and chat applications.
- Community: GitHub has a large and active community of developers who contribute to open source projects and collaborate on code projects.
Overall, GitHub works by providing a centralized location for developers to collaborate on code projects using Git version control. Its tools and features are designed to make it easier for developers to work together and manage their code repositories, leading to more efficient and effective software development.






