Git and Github
What is Git?
Git is a version control system used for tracking changes in computer files. It is generally used for source code management in software development.
It is a devops tool used for source code management. It is a free and open-source version control system used to handle small to very large projects efficiently.
Git is used to tracking changes in the source code
The distributed version control tool is used for source code management
It allows multiple developers to work together
It supports non-linear development through its thousands of parallel branches
What is git hub
GitHub is a web-based platform that provides hosting for version control using Git. It is a subsidiary of Microsoft, and it offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. GitHub is a very popular platform for developers to share and collaborate on projects, and it is also used for hosting open-source projects.
What is version control?
. Version control systems are software tools that help software teams manage changes to source code over time. Version control, also known as source control, is the practice of tracking and managing changes to software code
Features of Git
Tracks history
Free and open source
Supports non-linear development
Creates backups
Scalable
Supports collaboration
Branching is easier
Distributed development
Git Workflow
Git workflow is divided into three states:
Working directory — Modify files in your working directory
Staging area (Index) — Stage the files and add snapshots of them to your staging area
Git directory (Repository) — Perform a commit that stores the snapshots permanently to your Git directory. Checkout any existing version, make changes, stage them and commit.
Thanks for reading
I hope found this useful?
✅Reshare this with others so that it helps more people
✅Tag your colleagues and friends who you think will need this