Git a version control system.
It is an open source DVCS (disturbed version control system) that runs in the command line.
This basically means it saves the entire history of the project.
The history of your project and the history of the same project that’s being worked on by your peers will all have copies.
On the other hand, unlike DVCS, SVNs (subversion) stores the entire history in one place only.