Getting Started with Git
Git is a distributed version control and source code management tool that can save several snapshots of your project for version control.
Versions
What is Version Control?
Version control systems are systems that record changes to one or more files over time.
Centralized Version Control vs Distributed Version Control
- The main functions of centralized version control are synchronization, tracking, and backing up files.
- Distributed version control emphasizes sharing changes. Each change has a unique identifier.
- Distributed systems do not have a predefined structure. You can easily implement a centralized system like SVN using Git.
Why Use Git?
- You can work offline.
- Collaborating with others becomes easier.
- Branching is straightforward.
- Merging is simple.
- Git is fast and flexible.