Git for Beginner and Essential command
Git is a Version control system(VCS). You are thinking what is a VCS
Version control system means tracking the history of the changes in any project. Git is also a version control system which give you access you to track the history of the changes as people and team collaboration on the project together.
Why the version control system or Git exist ?
Let’s create a imaginary scenario where two friend are working on the same project they share their code with the help of DVD. They make changes in the code and share each other but they are unable to track changes in the friends code and the retrieve the another older version not exist.
Git repository :-
Git repository is the space where all the files for project and complete revision history exist.
Essential commands of Git:-
1) git __init__ : initialise a new local git repository inside the project. 2) git add <filename> : add the current contents of a specific file from your working directory to the staging area. 3)git commit: it is like the snapshot to your project current changes in the staged area. 4) git status: Displays the current state of the directory. 5)git log: Display the commits of the project.



