Introduction to Version Control & Git
Git is a distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Unlike centralized VCS, every Git clone is a full-fledged repository with complete history and tracking capabilities.
1 Version Control Fundamentals
- Tracking History: Git records all snapshots of files over time, allowing you to review changes, trace bugs, and revert to previous states.
- Branching and Merging: Multiple developers can work on distinct features in isolation and merge their changes safely.
- Distributed System: You don't need server connections to write commits, review logs, or switch branches; your local machine contains the full database.
2 Code Challenge
Challenge: Write down a short description explaining the difference between centralized VCS (like SVN) and distributed VCS (like Git).