# Clone

{% tabs %}
{% tab title="Development" %}
The `clone` command provides the ability to clone a remote repository, following which the schemas are loaded from the repository.

<figure><img src="/files/x1HMMHrCshvEX3bvmooa" alt=""><figcaption></figcaption></figure>

This command is useful in scenarios where a repository needs to be cloned in a fresh/empty database, after the initial installation.

The `--access-token` option can be used to supply a token for authorization purposes.

The `--current-commit` option can be used to specify the commit for code already deployed to the database, without using the [registry](/jadegit/console/registry.md) to track what version of the code has been deployed ([install](/jadegit/console/install.md) command handles initializing repositories using registry data stored in the database otherwise).
{% endtab %}

{% tab title="Standalone" %}
The `clone` command isn't available in the standalone variant.
{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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/console/install/clone.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.
