Git เป็น distributed version control system — มันติดตามการเปลี่ยนแปลงของไฟล์ตลอดช่วงเวลา ให้หลายคนทำงานร่วมกันได้ และเก็บรักษาประวัติทั้งหมดของโปรเจกต์ไว้ มันเป็นเครื่องมือ version control ที่ใช้กันมากที่สุดในการพัฒนาซอฟต์แวร์ และจำเป็นสำหรับงานยุคใหม่แทบทุกอย่าง
สิ่งที่ version control ทำ
Version control tracks CHANGES to code over time, providing:
✓ HISTORY — every change is recorded (who, what, when, why) → see how code evolved
✓ COLLABORATION — multiple people work on the same code without overwriting each other
✓ UNDO/RECOVERY — revert to any previous version; recover from mistakes
✓ BRANCHING — work on features in isolation; merge when ready
✓ BACKUP — the code lives in repositories (distributed copies)
