ورژن کنٹرول (Git) وہ بنیاد ہے جس پر CI/CD تعمیر کی جاتی ہے — repository میں کوڈ میں تبدیلیاں pipelines کو متحرک کرتی ہیں، اور branching کی حکمت عملی یہ طے کرتی ہے کہ CI/CD کیسے چلتا ہے۔ Git اور CI/CD کا انضمام وہ ہے جو خودکار، تبدیلی سے چلنے والی delivery کو ممکن بناتا ہے۔
Git CI/CD کو متحرک کرتا ہے
CI/CD pipelines are TRIGGERED by Git events:
→ a PUSH to a branch → runs CI (build + test) on that change
→ a PULL REQUEST → runs CI to verify the change before merging
→ a MERGE to main → may trigger deployment (CD)
→ a TAG (e.g. v1.2.0) → may trigger a release/production deployment
→ Every code change in Git automatically drives the pipeline → change-driven automation.
