What is Git and explain the difference between Git and SVN?
Git is a Distributed Version Control system (DVCS) which manages small as well as large projects efficiently. It is basically used to store our repositories in remote server such as GitHub.
Its distributed architecture provides many advantages over other Version Control Systems (VCS) like SVN.
GIT | SVN |
Git is a Decentralized Version Control Tool | SVN is a Centralized Version Control Tool |
Git contains the local repo as well as the full history of the whole project on all the developers hard drive. so if there is a server outage, you can easily recover code from local git repo. | SVN relies only on the central server to store all the versions of the project file |
Push and pull operations are fast | Push and pull operations are slower compared to Git |
Client nodes can clone the entire repositories on their local system | Version history is stored on the server-side repository |
Commits can be done offline too | Commits can be done only online |
