# Quickstart: a new repository

> Create a repository, clone it and push, with your Sypnia account.

Applies to: Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/start/quickstart-new/

For agents: New repository: `npx @sypnia/git login` (device flow) → `npx @sypnia/git create laespiga/web` (or the web at git.app.sypnia.com) → `git clone https://git.app.sypnia.com/laespiga/web.git` (the CLI installs a git credential helper using the Sypnia session) or `git@ssh.git.sypnia.com:laespiga/web.git` with an SSH key → commit with `Case:` trailers → push.

### 1. Sign in

```bash
npx @sypnia/git login
```

Approve the code in the browser with your Sypnia account. The CLI sets itself as git's credential helper for `git.app.sypnia.com`, so `git` uses your session; no password is ever typed.

### 2. Create the repository

```bash
npx @sypnia/git create laespiga/web --private
```

Or from [git.app.sypnia.com](https://git.app.sypnia.com).

### 3. Clone and push

```bash
git clone https://git.app.sypnia.com/laespiga/web.git
cd web
git commit --allow-empty -m "Start" -m "Case: place-order"
git push
```

With an [SSH key](https://git.docs.sypnia.com/access/ssh-keys): `git clone git@ssh.git.sypnia.com:laespiga/web.git`.

**You should see:**

The repository in Sypnia Cloud with your first commit, linked to the case `place-order` if the project has a map.
