> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/open-source/use-harness-open-source/gitspaces/manage-gitspaces/create-gitspaces.md).

# How to Create a Gitspace

Learn more about how to create a new Gitspace.

{% hint style="info" %}
Make sure you have latest version of Harness Open Source installed that includes the Gitspace offering and it's `docker.io/harness/harness:latest`.
{% endhint %}

### How to create a Gitspace <a href="#how-to-create-a-gitspace" id="how-to-create-a-gitspace"></a>

1. **Login** to Harness Open Source, and create a [new project](/open-source/new-to-harness-open-source/quick-start.md#create-a-project). You will see **Gitspace** available in the sidenav.
2. Click on **+New Gitspace**. To create a **Gitspace** using the [sample app](https://github.com/harness-community/demo-repo-nm). You have two options to create Gitspace:

{% tabs %}
{% tab title="Using Harness Open Source Repositories" %}

1. If you don’t have a Harness Open Source Repository, you’ll get an option to [create](/open-source/use-harness-open-source/repositories-1/overview.md#create-a-repository) one or [import](/open-source/use-harness-open-source/repositories-1/overview.md#import-a-repository) a new repository.

![](https://1570309421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwSg8m1jnnOJ6IG7TqFYn%2Fuploads%2Fgit-blob-2ec3dcfd8fda68506afad858579e5f2e667a4934%2Fchoice-repo-creation.png?alt=media)

2. Once the repository is available, you can select the **branch** and the **IDE** type (VSCode Browser and Desktop are supported)
3. Import the repository from third party git provider to Harness Open Source, using the **organization** and the **repository** name. [Read](/open-source/use-harness-open-source/repositories-1/overview.md#import-a-repository) for more details
4. Now **Create Gitspace**, by selecting the default **branch** as `main` and **IDE**.
   {% endtab %}

{% tab title="Other Public Git Repositories" %}

1. Repository URL is `https://github.com/harness-community/demo-repo-nm` (enter URL of your fork if you forked it), make sure the URL is the clone URL strictly of the format `https://git-provider.com/organisation/repository` any extra string post this might cause an error.
2. Let the **branch** be default `main`, select the **IDE** and **Create Gitspace**.

![](https://1570309421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwSg8m1jnnOJ6IG7TqFYn%2Fuploads%2Fgit-blob-145f7e5c7fcd8d5be52d09b59a3d34e430d03a73%2Fcreate-gitspace-public.png?alt=media)
{% endtab %}
{% endtabs %}

Please refer to the [IDE documentation](/open-source/use-harness-open-source/gitspaces/ides/vs-code-desktop.md) for detailed instructions on accessing your Gitspaces using your preferred IDE.

{% @harness-feedback/feedback %}
