If you are looking for the Git Tutorial then you are at the right place.
Git and GitHub have commonly used terms these days and every developer must have complete knowledge of them.
If you are a student and want to join some Web development company then Interviewer may surely ask you about Git.
If you are a developer then your company or client may ask you to use Git to handle the projects.
What is Git?
Git is a version-control system for tracking changes in computer files and coordinating work on those files among multiple people.” So that means that the most basic and important function of Git is to allow teams to add (and merge) code at the same time to the same project.
Git is a free and open-source distributed version control system designed to handle small to very large projects with speed and efficiency. It maintains a history of all changes made to the code. The changes are stored in a special database called “repository”.
Git vs GitHub
Git is a version control system that lets you manage and keep track of your source code history.
GitHub is a cloud-based hosting service that lets you manage Git repositories.
Why Git is Required?
Before Git, many of us used to arrange folders like ecom1, ecom2, ecom 3 etc.
After that, we have started date wise like ecom_1jan2021, ecom_5jan2021 etc.
But it's really tough to manage and we are never able to track the changes but Git helps to overcome all this and we are able to track our all changes easily and can able to comment with every change pushed to Git.
Also, there are other drawbacks in the traditional way to arrange files like if our project size is 1 GB and we keep copying the full project with every change done then we are short of space very soon.
We require a version control system to overcome all these issues that's why Git comes into play.
A version Control system, as the name suggests, is the system that controls the project versions means that help in saving every version of the project and we can keep track of it.
Advantages/Benefits of Git:-
- Track changes in your code
- Easily recover files
- Undo Mistakes / Rollback changes to previously working state
- Save Time
- Track Who creates Issues
- Work Offline
- Free and Open Source
- Secure
- Fast
Next video:- #2 GIT Tutorial for Beginners
Discussion (0)