---
title: "Git and the gh CLI"
description: "Git and the gh CLI as a MainSDK driver for upgrade. Pick it in main.yaml; your calls stay the same."
section: "integrations"
canonical: "https://mainsdk.dev/docs/integrations/git"
updated: "2026-10-28"
---

# Git and the gh CLI

> Git and the gh CLI as a MainSDK driver for upgrade. Pick it in main.yaml; your calls stay the same.

Canonical: https://mainsdk.dev/docs/integrations/git · Updated: 2026-10-28

Git and the gh CLI as a MainSDK driver for upgrade. Pick it in main.yaml; your calls stay the same.

## Interfaces it serves

### Upgrades (`upgrade`)

- Status: Building for 0.5 · ships as a beta API
- Driver: `git` (Git and the gh CLI)
- Docs: https://mainsdk.dev/docs/interfaces/upgrade.md

```yaml
upgrade:
  driver: git
```

Swap to another provider: `npm-registry`.
