# Repositories

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

<div><figure><img src="https://293682865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ7MmywDXjpFYcL5gQDv2%2Fuploads%2FLyaokj85KhMuKzdPwGqo%2Fimage.png?alt=media&#x26;token=1c70717d-b80a-483b-a390-a99072485917" alt=""><figcaption></figcaption></figure> <figure><img src="https://293682865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ7MmywDXjpFYcL5gQDv2%2Fuploads%2FqUo0giGf5dt4ejxDO97X%2Fimage.png?alt=media&#x26;token=bd0bda41-0879-4d88-bca1-1411b9066ab6" alt=""><figcaption></figcaption></figure></div>

Once created or cloned, the new repository will be shown in the explorer.  To the top-right, the three-dot menu provides access to various functions for managing the repository, in subsequent pages, this is referred to as the JadeGit Changes repository menu.

<figure><img src="https://293682865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ7MmywDXjpFYcL5gQDv2%2Fuploads%2F93eEjJ72UEUB9iPKIO43%2Fimage.png?alt=media&#x26;token=b0858487-b31a-4176-985b-c7dc21185463" alt=""><figcaption></figcaption></figure>

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.
