Git တွင် files များ၏ အဓိက states ၃ ခုရှိသည်။
1. Working Directory: သင် လက်ရှိမြင်နေရပြီး ပြင်ဆင်နေသော files များ။
2. Staging Area (Index): သင်၏ နောက် commit တွင် ပါဝင်ရန် သင်သတ်မှတ်ထားသော (git add ဖြင့်) changes များ၏ snapshot တစ်ခု။
3. Repository (.git directory): Git က သင်၏ project ကို အပြီးသတ်သိမ်းဆည်းထားသော နေရာ။ Commit လုပ်လိုက်သောအခါ staging area မှ snapshot ကို repository ထဲသို့ အပြီးသတ်သိမ်းဆည်းသည်။
You should see
(Workflow: Modify files in Working Directory -> Stage changes with 'git add' -> Commit staged changes with 'git commit')