Skip to main content

Built-in Git server

RBS includes an integrated Git server so you can host your code on the same platform that builds, tests, and deploys it. No separate Git hosting service required.

Why use the built-in Git server?

  • Zero-config CI: pushes automatically trigger builds on the branch server.
  • Branch = server: every active branch gets a dedicated build environment.
  • Faster clones: your code is already on the platform — no network round-trip to clone.
  • Unified access control: one set of permissions for code, builds, and deployments.
You can also import repositories from GitHub, GitLab, or Bitbucket if you prefer an external Git host. RBS mirrors the repository and keeps it in sync.

Getting started

Create a repository

From the RBS Dashboard:
  1. Click New Project → Create new repository.
  2. Name your repository and choose visibility (public or private).
  3. Click Create.

Clone and push

Import an existing repository

RBS clones the external repository and sets up a mirror. You can push to either the RBS remote or the original remote — changes are synchronized.

Branch-based servers

Every active branch in your repository can have a dedicated RBS server. The server starts automatically when:
  • A developer connects to the branch from their editor.
  • A push is made to the branch (for CI).
  • A scheduled workflow runs on the branch.

Branch lifecycle

EventServer state
First push to new branchServer created, repo cloned, workers deployed.
Developer connects via editorServer starts (if not running).
Push to branchCI workers execute workflows.
All users disconnectServer idles (configurable auto-shutdown).
Branch merged or deletedServer decommissioned, resources cleaned up.

Working with branches

Authentication

SSH keys

HTTPS with tokens

Access control

Manage who can access your repositories:
RoleRead codeWrite codeManage settingsManage members
Viewer
Developer
Maintainer
Admin

Branch protection

Protect important branches from direct pushes:

Webhooks

Configure webhooks to notify external services:
EventDescription
pushCode pushed to any branch.
pull_requestPR opened, updated, merged, or closed.
build:completedA build finished (success or failure).
test:completedTests finished running.
deploy:completedA deployment finished.

Mirroring external repositories

If you host code on GitHub, GitLab, or Bitbucket, you can set up bidirectional mirroring:
  1. Go to Settings → Mirrors.
  2. Add the external repository URL.
  3. Configure sync direction:
    • Pull mirror: RBS pulls from the external repo (read-only import).
    • Push mirror: RBS pushes changes to the external repo.
    • Bidirectional: Changes sync both ways.

Git LFS support

Large files are supported via Git LFS:
LFS objects are stored on the RBS platform and accessible to all branch servers without additional downloads.