Skip to main content
Git is included in the Developer Image. Use it inside the Computer through SSH, the Console command view, or an Agent’s Exec calls. The repository, its working tree and local commits are stored on that Computer’s disk. Signing in to Deepest with GitHub does not automatically authorize GitHub repository access inside the Guest. Deepest SSH authorization and GitHub SSH authorization also serve different connections.

Inspect before cloning

In the Computer, confirm your tools and choose a directory you own:
If your repository is already present, use it rather than creating another clone. Read its README and any repository-specific instructions before installing dependencies or running scripts. To clone a public repository you intend to use:
Replace placeholders with the intended repository. Successful clone and status show that source is present; they do not authorize pushes or prove the build works. Avoid embedding tokens in remote URLs.

Configure private access deliberately

Use a GitHub-supported authentication method with the least permissions needed for the task. For example, you can install GitHub CLI following its official instructions, then interactively authenticate in the Computer:
GitHub CLI is a catalog guide, not one of the six platform Quick Install tools and not guaranteed preinstalled by the image. Check before using it. The official GitHub CLI authentication manual maintains its current login options. An alternative is a dedicated GitHub SSH key created inside the Computer and registered at GitHub. That key authorizes Computer → GitHub, while the public key added to Deepest authorizes your local client → Computer. Do not copy your local private SSH key into the Guest just to conflate these two relationships. The official GitHub SSH guide covers key setup and provider authorization. Organization SSO and repository policy still apply. Vault can support specific HTTPS Authorization-header API requests, but it is not automatic Git credential-helper integration. Do not assume every Git authentication scheme or GitHub CLI storage method is covered by Vault substitution.

Verify work and preserve it

After making changes, inspect the exact diff:
Commit only intended files, using your own configured author identity. A commit stores history in that repository; a push changes a remote repository and requires separate user intent and permissions. The Computer’s disk survives normal Stop/Start, including local commits and uncommitted saved files. Running tests, editor processes and in-memory state do not survive Stop. A Clone copies Guest repository and credential files as ordinary disk contents, so review duplicates and third-party sessions before operating both copies. A local Computer snapshot is not an external backup. Push intended commits or export a verified copy when you need a separate durable location. Do not delete the Computer until required work has been exported and checked.

Agent workflow

With an authenticated SDK client, a read-only repository check can be:
Replace the repository path before running. Pass arguments explicitly instead of interpolating untrusted text into a shell command. Keep Account Agent Keys in the trusted caller. Agents should inspect the working tree, respect uncommitted work, read the project’s instructions, and obtain the user’s intended branch/remote action before destructive changes or publishing. If a clone or push response is lost, inspect local and remote state before repeating it.

Resource and failure boundaries

Repositories, dependency directories, LFS objects and caches consume Account storage. Concurrent builds and Agents share CPU and the Computer’s memory. Reuse an existing suitable Computer and repository when that fits the task. Continue with Agent tools, Docker and Dev Containers, or VS Code Remote SSH.