# 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](https://docs.nuvolos.com/features/applications/configuring-applications#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](https://docs.nuvolos.com/faqs#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](https://docs.nuvolos.com/faqs#is-git-supported), and use the clone URL beginning with `git@...` .
