Git Client — Overview
Workspace में built-in visual Git client — बिना terminal छुए diff, commit, push, और branch।
Git Client Git के लिए सब कुछ का visual interface देता है — क्या बदला देखना, files stage करना, commit messages लिखना, remote पर push करना, branches switch करना, और worktrees manage करना। इसे 1DevTool में directly built lightweight GitKraken समझें, कोई अलग install नहीं।
Git Client क्या है?
AI agent से code लिखवाते वक्त वो हमेशा files बदलता रहता है। Git Client वो changes visually दिखाता है — कौन सी files modify हुईं, exactly कौन सी lines add या remove हुईं, और diff कैसा दिखता है — कुछ commit करने से पहले।
इसे use करने के लिए कोई git commands जानना ज़रूरी नहीं। सब कुछ point-and-click है।
क्यों Use करें?
AI agents के साथ काम करते वक्त सबसे important habit है commit करने से पहले changes review करना। Agents fast हैं, पर perfect नहीं। Visual diff से आसानी से spot होता है जब agent ने कुछ unexpected बदला हो — कोई file जिसे touch नहीं करनी थी, कोई गलत लगती line, या कोई function quietly remove हो गया।
Visual client के बिना terminal में git diff चलाना और plain text scroll करना होता। Git Client से color-coded line additions और deletions side by side दिखती हैं, और exactly वो files stage कर सकते हैं जो चाहते हैं।
खोलने का तरीका
- Left icon strip में Git icon click करें
- या Cmd+G (Mac) / Ctrl+G (Windows/Linux) दबाएं
Git panel बाकी workspace panels के साथ खुलता है। Current project folder में git repository automatically detect करता है।

क्या कर सकते हैं
- Diff viewer — added lines (green), removed lines (red), और unchanged context। Unified और side-by-side views के बीच switch करें।
- Staging — individual files (या individual hunks) check या uncheck करें ताकि exactly control करें कि हर commit में क्या जाता है।
- Commit — commit message type करें और terminal छुए बिना commit करें।
- Push & Pull — एक click में remote के साथ sync करें।
- Branch switching — नई branches create करें, existing ones checkout करें, और पूरी branch history देखें।
- Worktrees — multiple branches simultaneously check out करें, हर एक अपने folder में। Details के लिए Git Worktrees देखें।

Git Experience ज़रूरी नहीं
Git में नए हैं तो Git Client शुरुआत के लिए बेहतरीन है। हर action का clear label है, और गलती से commit हो जाए तो undo कर सकते हैं। Use करते-करते naturally git workflow सीख जाएंगे — staging, committing, pushing, branching — commands याद किए बिना।