GitHub Flow (đơn giản): main là production-ready, mọi tính năng làm trên branch từ main, PR → review → merge → deploy ngay. Chỉ có 1 loại branch ngoài main.
Git Flow (phức tạp): main + develop + feature/ + release/ + hotfix/*. Overhead cao nhưng kiểm soát release tốt hơn.
Startup 5 người → GitHub Flow:
- ít overhead, không cần ceremony
- deploy liên tục không cần release branch
- hotfix đơn giản — branch từ main, fix, PR, merge, deploy
- team nhỏ → pair review nhanh hơn formal release process
Khi nào startup cần Git Flow: có enterprise customers yêu cầu quarterly release, app mobile cần app store review cycle, compliance yêu cầu release notes chính thức.
Branch naming convention cho GitHub Flow: feature/user-auth, fix/login-bug, chore/update-deps, docs/api-readme. Xóa branch ngay sau merge — đừng để branch zombie tích tụ.