Why do we need to use Git and GitHub?
In this article, we are going to learn about the Basics of Git and GitHub.
Sumit asked his friend, could you please tell me, what is git and GitHub, why we need to use them?
Manoj: OK, I will explain but I have a question for you, are you aware of VCS (Version control system)?
Sumit: I don't know.??
Manoj: All right, A version control system (VCS) is a collection of software tools that tracks changes to a file or set of files over time.
Let's an example-
Imagine you have a story that you're writing on your computer??. Every time you make a change to the story, like adding a new paragraph or fixing a spelling mistake, the version control system keeps a record of that change. So if you ever want to go back and see what the story looked like before, you can easily do that with the help of the version control system.
??Listen carefully, Sumit
This can be really helpful, especially when you're working on a project with other people. Let's say you and your friends are working on a group project, like creating a presentation. With a version control system, everyone can make their own changes to the presentation, and the system will keep track of all those changes. So if someone accidentally deletes an important slide, you can easily go back to a previous version of the presentation and restore the missing slide.
So, in simple terms, we use Git to collaborate with others, keep track of changes, easily revert mistakes, work on different versions of our project, and have a backup of our work. It helps us work more efficiently and confidently on our projects.??
Manoj: Understood?
Sumit: got it, basically a version control system is like a tool that helps you keep track of changes made to files over time, making it easier to collaborate with others and go back to previous versions if needed.
Manoj: yeah, great??
Sumit: What about Github???
Manoj: Sure! GitHub is a website that helps people work together on projects, like making software or writing code. It's like a big online library where people can store and share their work with others. ????????????
Imagine you and your friends are working on a group project for school. Instead of passing around papers or emailing files back and forth, you can use Github to keep everything organized. Each person can make their own copy of the project, make changes to it, and then share those changes with the rest of the group. It's like having a virtual workspace where everyone can collaborate and see what each other is doing.
领英推荐
Github also keeps track of all the changes made to a project, so if someone makes a mistake or accidentally deletes something important, you can easily go back to a previous version and fix it. It's like having a time machine for your project!
So, in simple terms, GitHub is a website that helps people work together on projects, keep track of changes, and share their work with others. It's like a virtual workspace and a library all in one!
Understood?
Sumit: Got it thank you. ??
Manoj: It's my pleasure. And don't forget to practice, go to this link and explore all about Git and Git Hub. there are Book pdf
(●'?'●)
Web Developer ||HTML || CSS || JavaScript ||PYTHON
1 年This knowledge is valuable for me Thanks Manoj Das
Sr. Process Executive
1 年Big fan sir ??