> For the complete documentation index, see [llms.txt](https://jadelab.gitbook.io/jadegit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jadelab.gitbook.io/jadegit/0.12.0/migration/overview.md).

# Overview

To use JadeGit for existing systems, the following steps need to be carried out to initialize the source code repository.

## Create Repository

Make a new folder and initialize a new bare repository using `git init`.

![](/files/UNndwcmOwBVrpuSyRwCh)

## Extract Schemas

As the extract can take awhile, it's recommended existing schemas be extracted from a backup of production systems, taken after the last code release.

All existing schemas can be extracted using the following commands.  The extract command stages changes in-memory until they're committed.  Schemas may also be extracted more selectively using a specific regex and/or list of schema names.

![](/files/0YnICkJ0xWcL5rd6uvEL)

### Initial Commit

Once schemas have been extracted, the changes staged need to be committed using the commit command.

![](/files/zgs7nthuIBMokHRVdMaR)

## Remote Push

Once ready, the local repository needs to be pushed to a remote repository developers can clone.

This depends on setting up a new remote repository using your preferred platform (GitHub, GitLab, Azure DevOps).  Once created, it can be added to the local repository and then pushed to.

![](/files/MWgv4tOfYTjV70Z5lepJ)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jadelab.gitbook.io/jadegit/0.12.0/migration/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
