Git provides amazing benefits for programmers. Git is a version-control tool that keeps a record of snapshots of your code as it changes. Git was invented by Linus Torvalds, the same dude that wrote the Linux kernel (Linux OS, Android OS, Chrome OS).
Git keeps track of the changes (not the whole files) you make in your code. This is very useful when debugging complex code because you can easily see the difference between 2 versions of the same file.
A git repository (repo for short) is the entire group of code that is being tracked by git. It's the folder that contains all the code for your project.
The command git init
enables git in the working directory, meaning every change that's made inside that directory will now be tracked by git. This includes creating new files and folders within the working directory. Once git is enabled in a repo/directory, there's n