Blog

Git repositories: clone, pull and use a deploy key for a private repository

How to clone a Git repository into a domain, pull its latest changes, and use the account's deploy key so a private repository can be read, with the audit trail of each step.

Git repositories: clone, pull and use a deploy key for a private repository

2026-11-22

Git repositories clone a repository into a domain, and pull its latest changes. The list shows the repositories cloned from this panel. Each clone and each pull is also recorded in the Audit Log.

Clone a repository

  1. Open Hosting in the sidebar, then Git Repositories.
  2. Choose the Domain, then type the Repository URL: https for a public repository, or git@host:owner/repo.git for a private one.
  3. Type a Branch or tag if you need one, for example main or v1.0.0.
  4. Press Clone repository. The repository appears under Connected repositories.
Git repositories page with the connected repositories list, the form for a domain and the deploy key section; the repository address is hidden
Git repositories: the connected list, the form for a domain, and the deploy key section. The repository address is hidden in this picture.

Pull the latest changes

Press Pull latest changes on the repository's row, or in the form for the domain. The Last pull column shows when the repository was last pulled.

Private repositories and the deploy key

Each account has its own SSH key. Press Show deploy key for the domain to see its public half. The private half stays on the server. Add the public key to the repository as a deploy key in the repository's settings. Read-only access is enough to clone and pull.

All posts