Git wasn't always the standard. Back in 2005, Linux creator Linus Torvalds got frustrated with the version control tools available at the time and created Git from scratch. Linus wanted something that was fast, efficient, and true to the way developers actually worked.
History and Open Source
Git started as an open source project and grew into what we use today. You can think of Git's three states like a flow of your work: stage β working directory β commit. You stage changes to get them ready, work on them in your working directory, then commit them to create a permanent snapshot. This three-state system is what makes Git powerfulβyou always have a clear view of what you're working on.
$ git init
$ git add .
$ git commit -m "Initial commit"
Try it Yourself β