# Move in, move out

> Import from GitHub, export to GitHub, keep a read-only mirror on GitHub, and the project's sypnia.toml.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/migrate/

For agents: Migration: `npx @sypnia/git import github owner/repo` (history, LFS, issues, PRs, reviews, labels, milestones, releases), `npx @sypnia/git export github owner/repo` (the reverse), `npx @sypnia/git mirror github owner/repo` (one way, Sypnia Git → a read-only copy on GitHub); `git.remote` in sypnia.toml says where the code lives for every Sypnia product.

Sypnia Git is built so that leaving is easy, which is why staying is a choice.

- [From GitHub](/migrate/from-github/): Import repositories with their history, issues, pull requests and releases.
- [To GitHub](/migrate/to-github/): Leave with everything, in one command.
- [Mirroring](/migrate/mirroring/): Keep a read-only copy of your repository on GitHub, updated on every push to Sypnia Git.
- [sypnia.toml](/migrate/sypnia-toml/): The one configuration file of your project, and the table that says where your code lives.
