> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kazzle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Repos

> किसी भी git repo को अपने space में clone करें - push, pull करें, और branches को manage करें।

आप किसी भी git repository को अपने space के [Drive](/about/drive) में clone कर सकते हैं। Clone करने के बाद, AI repo को read, edit, और commit कर सकता है, जैसे यह apps के साथ काम करता है।

## Repo को clone करना

AI को repo clone करने के लिए कहें, या Drive sidebar के **+** button का उपयोग करें और **Clone repo** चुनें। Git URL प्रदान करें और Kazzle बाकी सब कुछ संभाल लेगा।

## Authentication

Git credentials को [vault](/work/vault) के माध्यम से manage किया जाता है। Kazzle समर्थन करता है:

* **GitHub App** - installation tokens, auto-refresh। अनुशंसित तरीका।
* **SSH keys** - vault में stored, credential helper के माध्यम से injected।
* **Personal access tokens** - vault में stored, HTTPS cloning के लिए उपयोग किए जाते हैं।

Cloud machine server से demand पर credentials fetch करता है, जो उन्हें vault से resolve करता है। Machine पर disk पर कोई credentials stored नहीं हैं।

## Operations

| Operation           | कौन कर सकता है | Notes                                                                        |
| ------------------- | -------------- | ---------------------------------------------------------------------------- |
| Clone               | आप या AI       | Repo को Drive में जोड़ता है                                                  |
| Pull                | आप या AI       | Remote changes को fetch और merge करता है                                     |
| Commit              | आप या AI       | Local changes को commit करता है                                              |
| Push                | आप या AI       | Terminal `git push` default रूप से approval मांगता है; force push blocked है |
| Create pull request | आप या AI       | AI PR खोल सकता है जब तक आप इसे restrict न करें                               |
| Branch/switch       | आप या AI       | Branches बनाएं या switch करें                                                |

आप इनमें से किसी के लिए भी approval की आवश्यकता कर सकते हैं - या उन्हें block कर सकते हैं - [tool policies](/security/tool-policies) में।

## Drive में Git state

Drive automatically git state दिखाता है: current branch, recent commits, uncommitted changes, और remote से कितना आगे/पीछे है। यह real time में update होता है जैसे AI काम करता है।
