# Git troubleshooting

## I cannot clone a private repository from a running Nuvolos application

This issue can occur for several reasons:

1. The application runs in [shared mode](/features/applications/configuring-applications.md#run-in-shared-mode).
2. The application has not been restarted since the SSH key was generated.
3. The clone command is using the wrong repository URL. For private repositories, use the SSH-based URL beginning with `git@...` rather than the HTTP-based URL beginning with `https://...`)

## I created a new space based on a git repo, but the repository wasn't cloned

When creating a new space from a Git repository, ensure that the following conditions are met:

1. If you want to clone a **public** repository without [configuring an SSH key](/help-and-reference/faqs.md#is-git-supported), use the `https://...` clone URL. The `git@...` URL requires a valid SSH key configuration regardless of whether the repository is public or private.
2. If you want to clone a **private** repository, you **must** [configure an SSH key](/help-and-reference/faqs.md#is-git-supported), and use the clone URL beginning with `git@...` .


---

# 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://docs.nuvolos.com/help-and-reference/troubleshooting/application-troubleshooting/git-troubleshooting.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.
