> 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.11.1/developers/getting-started/repositories.md).

# Repositories

Using the Repository Setup dialog, a repository can be created or cloned.  When there's no existing repositories, this is accessed by the 'Add Repository' button shown by the explorer, otherwise it's accessible via the context menu shown at the top of the explorer for existing repositories.

![](https://3850210453-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LiuZvEx90WVx-LnSKG_%2F-LnC_mXFLmNdi9aURFUM%2F-LnC_ox69vBpgeUfhk6G%2Fimage.png?alt=media\&token=b1e4fda9-9649-4450-923a-a82c70fad4ed)

Once created or cloned, the new repository will be shown in the JadeGit Changes explorer.  When creating, the [initial default branch](https://git-scm.com/docs/git-init#Documentation/git-init.txt-initdefaultBranch) is determined using your global git configuration.  When cloning, the default branch of the remote repository is used.

<figure><img src="https://3850210453-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LiuZvEx90WVx-LnSKG_%2Fuploads%2FwaKA1zaDjATQmO3Ibj7o%2Fimage.png?alt=media&amp;token=8462a1c8-6fcc-44fa-bc5d-abc99c1c0dc1" alt=""><figcaption></figcaption></figure>
