How OpenProject Git and SVN repository integration works for your projects
If your teams want commits, branches and repository activity tied to the work packages they already plan in OpenProject, the platform supports linking Git and Subversion repositories to projects. Managed repositories, where OpenProject hosts the repository itself, are an on-premises feature and require the Enterprise plan, as listed on the OpenProject pricing page. Before you commit to this path, confirm that your deployment model and license tier match what you need.
The two options differ in where the code lives. An OpenProject-managed repository is created and hosted by the OpenProject instance on your server, so OpenProject controls the repository location and its backup. An external repository is a Git or Subversion repository that already exists on another system, such as a code host your engineers already use, and is attached to a project by its URL. Managed repositories give you one place to back up and administer code alongside work packages. External repositories keep the code where your developers already work, and they are the only option when the instance runs in Docker, which cannot host managed repositories.
Plan the decision with your engineering leads and administrators. Ask who will own repository access, which projects need a managed repository and which should point at an existing system, and whether your OpenProject instance is a packaged install that can host repositories. Confirm with OpenProject which repository features and roles apply to your plan, since the pricing page names repositories as an on-premises feature. Also confirm how repository content will be covered by your backup routine, because the packaged backup includes Git and Subversion repositories alongside the database, attachments and configuration, as described in the OpenProject backup documentation.
What you need before connecting a Git or SVN repository
Managed repositories depend on the installation method, the plan and the network path between OpenProject and the code host. Settle these four points before any repository is linked, because they determine whether the work is possible at all and who has to be involved.
On-premises packaged install
Repositories are an on-premises feature, and Docker installations cannot host OpenProject-managed Git or Subversion repositories. Before you plan the integration, confirm that the instance runs as a packaged install on a server you control. If the instance already runs in Docker, plan to point projects at external repositories instead of managed ones. Confirm the install method first, because it decides the rest of the design.
Packaged to Docker docsSupported packaged operating systems
Packaged installs support Ubuntu 22.04, Debian 12, CentOS or RHEL 9.x and SUSE Linux Enterprise Server 15, on 64-bit Linux. Choose one of these for the host that will store managed repositories, and check that your patching cycle keeps it within a supported release. Repository data lives on this host, so its operating system choice also shapes your backup and restore runbook.
System requirementsEnterprise plan for repositories
Repositories are listed as an on-premises only feature on the pricing page, so the Enterprise plan that includes them is required. Ask your OpenProject sales contact which plan tier includes repository support for your user count, because the tier table lists different minimum user counts for each plan. Budget for the recurring subscription, since Community edition work packages and boards do not include managed repositories.
OpenProject pricingAccess and credentials for external repositories
Plan service accounts with read or write access to each external Git or Subversion repository that you link. Decide whether OpenProject authenticates with a dedicated account, a deploy key or a token, and who rotates it. Keep these credentials out of project notes, and record which team owns each repository so that access reviews have a clear owner.
Network paths and firewall rules
The OpenProject server must reach each external repository host over the protocol you use, and the repository host must accept connections from that server's address. Map every source host, port and TLS certificate chain before the change window. In segmented networks, confirm with your network team that firewall and proxy rules allow the traffic, because a blocked path appears as a link failure rather than a clear error.
Client versions and module setup
The exact repository module setup and the Git or Subversion client versions must be confirmed in your own environment against the vendor documentation before you build. Record the client versions present on the OpenProject host, test them against your repository hosts, and include them in change control so that a later upgrade does not break existing links.
Configuring a managed or external repository step by step
This sequence takes a project from confirming the installation type through to a working repository link that developers can clone or check out from a work package context. Each step ends with a check so the team knows it can move on.
Confirm the installation type first
Before anything else, confirm that the OpenProject instance is a packaged on-premises installation (.deb or .rpm on a supported Linux distribution) and not a Docker install. Managed Git and Subversion repositories depend on that packaged setup, and the repositories module is listed on the pricing page as an on-premises only feature. Run the administration pages and check the installation type and version with your platform owner. Done when you have written confirmation that the instance is packaged and on-premises, and that the Enterprise plan covering repositories is active.
Enable the repository module for the project
A project administrator opens the project settings and turns on the repositories module for that project only. Modules are switched on per project, so other projects are unaffected. Confirm that the module is enabled and that the Repository entry appears in the project's navigation menu. If the entry is missing, check that your user holds a role with permission to manage repositories in that project, and that the Enterprise plan includes the feature on this instance.
Choose a managed or external repository
Decide whether the code will live in an OpenProject-managed Git or Subversion repository or in a repository that already runs elsewhere in your environment. A managed repository is created and stored on the OpenProject server, so it is included in the packaged backup. An external repository stays where it is and OpenProject links to it, so its backup and access controls belong to the system that hosts it. Record the choice and the repository URL or storage location in the project's runbook. Done when the team has agreed the choice and the record names the owner of the repository's backups.
Create or link the repository
For a managed repository, an administrator creates the Git or Subversion repository from the project's Repository page and confirms its path on the server. For an external repository, the administrator enters the repository URL and the type, then saves the configuration. Check the path or URL for typos before saving, since a wrong entry is the most common cause of a failed first clone. Done when the repository appears under the project settings with the correct type and location.
Set access for users and service accounts
Assign repository access through project roles so that developers receive read or write rights as their role requires. Create a dedicated service account for any automated process that needs to read the repository, and give it the narrowest access it needs. For external repositories, confirm that the account OpenProject uses to reach the remote repository has read access there, and that its credentials are stored and rotated under your normal secrets process. Done when a test user with a developer role can see the repository and a service account can perform the read it needs.
Test a clone or checkout from a work package
Open a work package in the project, locate the repository link or repository view, and follow it to the commit history. Then clone the repository from a developer workstation using the URL shown in the project settings, or run a Subversion checkout to a clean directory. A successful clone or checkout with the expected branch or revision confirms the path, the network route and the access rights. Done when a developer can complete this from the work package context, which proves the link works end to end.
Confirm the repository is in the backup scope
For a managed repository, run or review the packaged backup procedure and confirm that the Git or Subversion repositories appear in the backup output alongside the database dump, attachments and configuration. For an external repository, confirm with its owner that it is covered by that system's own backup and retention policy. Record the result in the operations runbook. Done when you can name the backup location for every repository linked to the project, and when a restore test has been scheduled.
How repository activity reaches OpenProject projects
Developers push to either a repository hosted by the packaged OpenProject server or an external Git or Subversion host, depending on how each project is configured. The project's repository module settings decide which path a project uses, and the same server holds the repositories that the packaged backup command captures. Check the trust boundary first: external hosts sit outside the company network, so network access, credentials and what the server is allowed to read must be agreed before the link is enabled.
Repository paths, project settings and the backup route for OpenProject.
Why managed repositories require a packaged on-premises install
OpenProject-managed Git and Subversion repositories are available only on a packaged, on-premises installation. The OpenProject pricing page lists repositories (SVN and Git) as an on-premises only feature, and Docker installations do not support OpenProject-managed Subversion or Git repositories. If your team wants OpenProject to host the repositories themselves, with the repository hosting tied to the project and its work packages, the target platform has to be a packaged install on infrastructure you control. Confirm this against the current pricing page and your planned edition before you commit to an architecture, because the feature list is the authority on what each deployment mode supports.
If your instance already runs on Docker, the practical consequence is that its projects cannot keep managed repositories there. Each project that relies on a repository must point at an external Git or Subversion repository instead, which means the code moves to a server you run separately and the project settings are updated to match. Decide early which repositories stay where they are, which need a new home, and who owns access control on each side. Also check whether any repository data currently lives inside the OpenProject host, since that data will not follow a simple container swap.
When you plan a move from Docker to a packaged install, treat repository data as a separate migration stream from the database. The packaged backup command includes git and svn repositories along with the database dump, attachments and configuration, so the backup scope is one place to verify what you are moving. Inventory every managed repository, its size, its hooks and its access rules, then test a restore on a staging host before cutting over. The official guidance on migrating a packaged installation to Docker Compose describes the direction of this move, and the reverse path needs the same level of verification.
Mapping repository types, hosting options and access between systems
This table compares the four ways to link source code to an OpenProject project, showing where each repository lives, who runs it, which installation types support it and what the backup covers. Use it to decide whether to host repositories inside OpenProject or point projects at repositories your team already runs, and confirm project role mappings in your own environment before rollout.
| Option | Where the repository lives | Installation types that support it | What the backup covers |
|---|---|---|---|
| Managed Git | On the OpenProject server, managed by OpenProject | Packaged on-premises installs only | Git repositories included in the packaged backup command |
| Managed Subversion | On the OpenProject server, managed by OpenProject | Packaged on-premises installs only | Subversion repositories included in the packaged backup command |
| External Git | On a Git server your organization runs or hosts elsewhere | Packaged and Docker installs, linked by URL | Covered by your Git server's own backup, not by the OpenProject backup |
| External Subversion | On an SVN server your organization runs or hosts elsewhere | Packaged and Docker installs, linked by URL | Covered by your SVN server's own backup, not by the OpenProject backup |
| Repositories and plan | Repositories are listed as an on-premises only feature on the pricing page | Not available in the Community edition on Docker | Confirm the Enterprise plan that includes repositories for your user count |
| Docker migration | Managed repositories cannot be hosted after a move to Docker | Projects moved to Docker must point at external repositories | Export or migrate managed repositories to an external server before the move |
| Project role mappings | Access is set through OpenProject project roles, not the repository server alone | Depends on the chosen hosting option | Confirm each role mapping and repository permission in your environment before go-live |
Securing repository access and credentials in OpenProject
Repository integration gives every project member a path to source code, so access has to be scoped deliberately. The cards below cover who gets repository rights, where external repository credentials live, which administrative switches to lock down, and how the server holding managed repositories is protected. Confirm each repository type's authentication options with the vendor before you commit to a design.
Least-privilege project roles
Repository access in OpenProject follows project membership and role permissions, so a broad member role can expose code to people who only need to track work. Review which roles can view repository contents, browse history and push or manage repository settings, and separate those rights from work package editing. Confirm the exact permission names in your installed version, since they can change between releases. Test each role with a real non-admin account before onboarding the project.
System requirementsExternal repository credentials
When a project points at an external Git or Subversion repository, the connection often needs a username, token or key that OpenProject must store. Keep these credentials out of wiki pages, work package comments and shared spreadsheets, and use a dedicated service account with read-only scope where the workflow allows it. Ask each repository host how it issues tokens, how long they last and how they are revoked, because those answers determine your rotation schedule.
Credential rotation and revocation
A credential that works today will still work after the engineer who set it up leaves unless someone owns its lifecycle. Record which repository connection uses which account, who can change it, and the steps to rotate it without breaking active projects. Test a rotation in a staging instance first. Confirm with each vendor whether rotating a token invalidates cached clones or existing sessions.
Restricting administrative settings
Administrators control global repository behavior, so an admin account used for daily work turns a phishing incident into a repository incident. Limit administrator rights to a small named group, use separate accounts for administration, and review who can enable repository features or change connection targets. Keep an audit of administrative changes in your central logging where your environment supports it.
Hardening the managed repository server
Managed repositories are stored on the server that runs OpenProject, so that host is a source code store as well as an application server. Restrict network access to the service ports, keep the operating system and OpenProject packages patched, and limit which local accounts can read the repository directories. Confirm the storage path and file ownership for your package version before you set filesystem permissions, and review them after each upgrade.
Backup copies carry the same access
The packaged backup includes Git and Subversion repositories alongside the database, attachments and configuration, so backup media holds source code and any stored secrets. Encrypt backup storage, restrict who can restore, and document the retention period your policy requires. Test a restore on a separate host and confirm that repository permissions still apply after the restore.
Backup documentationCommon repository integration failures and fixes
This table lists the failures teams most often hit when linking Git or Subversion repositories to OpenProject, with the likely cause and the fix for each. Read it as a checklist: match the symptom you see to the row, then confirm the cause in your own environment before changing settings.
| Failure | Likely cause | Fix |
|---|---|---|
| Repository module missing or unavailable | The instance runs the Community edition or a Docker install, where OpenProject-managed repositories are not offered | Confirm the edition and install method. Managed repositories need an on-premises Enterprise setup, so either move to that setup or link an external repository instead |
| Repository tab absent in a project | The repositories module is not enabled for that project, or the user lacks permission to see it | Enable the module in project settings, then check the role permissions for the people who need access |
| Users cannot clone or check out | Their project role lacks repository read permission, or they are not a project member at all | Review the role's repository permissions and confirm membership. Grant read access for clone and write access for pushes separately |
| Push rejected for a team member | Their role allows read but not commit or manage permissions, or the account is locked or not mapped to the right user | Adjust the role for write access and verify the user account is active and linked to the correct OpenProject identity |
| External repository credentials fail | Wrong username, an expired token or password, or a URL that differs from the one the credentials were issued for | Reissue the token with read scope, re-enter it in the repository settings, and test the URL from the OpenProject host |
| External repository unreachable from the server | Network path, firewall, proxy or DNS blocks the OpenProject host from reaching the repository host | Test connectivity from the OpenProject server itself, not from a workstation, and open the required outbound route or set the proxy |
| Repository missing from backup | Backup run uses a command or scope that excludes repository data, or the backup targets a different instance | Run the packaged backup command and confirm the git and svn repositories are included. Test a restore on a separate host |
| Repository data missing after moving to Docker | Docker installs cannot host OpenProject-managed repositories, so the data was not carried over | Keep the managed repositories on the packaged install, or move each project to an external repository and migrate history separately |
How backups cover managed Git and SVN repositories
The packaged OpenProject backup command includes the managed git and svn repositories along with the database dump, attachments and configuration, so a single backup run captures the source code that OpenProject hosts. The team has to plan around that scope rather than assume it. Repository data grows independently of work packages, so confirm how large the repository directories are on your installation, where the backup archive will be written, and whether that location has enough capacity for several retained generations. Ask DeployOpen or your own administrators to confirm the exact backup target and retention settings against the OpenProject backup documentation before go-live.
Storage location and copy policy matter as much as the backup itself. Keep at least one copy off the OpenProject host, encrypted and access-controlled, because a backup stored beside the instance fails together with it. Decide who can read the archives, since they contain source code, and who is allowed to trigger a restore. Record which repository paths belong to which project so that the restore team can confirm that every managed repository came back, not only the database rows that point to it.
A backup that has never been restored is an assumption. Run a restore into a separate test host at a defined interval, then check that the database, attachments and configuration match the source, and that repositories can be cloned and that a commit history reads correctly. Note the elapsed time and any manual steps, since those figures become your recovery planning inputs. External repositories are different: they are backed up by their own hosts, not by OpenProject, so any repository linked from a project needs its own backup owner, schedule and restore test.
Questions buyers ask about OpenProject repository integration
Does repository integration in OpenProject cost extra?
Yes. The OpenProject pricing page lists repositories (SVN and Git) as an on-premises only feature, so managed repositories require a self-hosted Enterprise plan. The Enterprise on-premises plans are priced per named user per month: Basic at 5.95 euros and Professional at 10.95 euros with a 25-user minimum, Premium at 15.95 euros with a 100-user minimum, and Corporate on request for 250 or more users. Community edition remains free, but it does not include the repository feature. Confirm the current tier that includes repositories on the OpenProject pricing page before you budget, because the feature list is the deciding factor, not the headcount alone.
How does the number of users change the licence cost?
Enterprise on-premises pricing is per named user per month, so the cost scales with the people who need access and the tier their count falls into. The supplied tiers set minimums: Professional starts at 25 users, Premium at 100, and Corporate is quoted on request for 250 or more. Recurring licence cost is therefore set by your user count and tier, and it continues for as long as the subscription runs. Ask for a quote that shows the tier, the named-user count, the billing period and whether repositories are included in the tier you select.
How much effort does linking existing repositories take?
Effort depends mainly on how many repositories you link and whether they are moving from another host. Linking a small number of external Git or Subversion repositories to existing projects is usually a short configuration task. Moving repositories into a self-hosted setup adds work: you must plan access, verify history and point each project at the right location. Repositories that OpenProject manages sit on your own server, so the backup and storage plan grows with them. Ask for the work to be counted per repository and per project, and state which repositories are managed and which stay external.
What must our team provide before an integration starts?
Your team should provide a list of repositories with their type (Git or Subversion), their owners and the projects they serve, plus the access model each one needs. You also need a server that runs a packaged OpenProject install, with the required PostgreSQL version and enough storage for repository data. Provide the identity details, such as which users need repository access, and the backup target where repository data will be copied. Confirm the server operating system is one that the packaged install supports: Ubuntu 22.04, Debian 12, CentOS or RHEL 9.x, or SUSE Linux Enterprise Server 15.
Can our internal engineers do this integration themselves?
Often yes, if they have Linux administration experience and time to read the OpenProject documentation. Internal staff can usually handle linking external repositories and basic project configuration. Tasks such as managing repositories on a self-hosted server, setting backups, verifying restores and planning the migration of many repositories need more time and a clear owner. A partner is useful when the timeline is short, when repository history is large, or when the team lacks capacity to test backups. Decide who will own the server, the repositories and the restore test before you choose between internal and external delivery.
Why does a Docker installation affect the repository plan?
Docker installations do not support OpenProject-managed Subversion or Git repositories, so the plan changes if you run OpenProject in Docker. Projects that were using managed repositories must point at external repositories after a move to Docker. Your plan should list each repository, decide whether it will stay on a hosting platform you control or move to a separate server, and update each project link. Confirm the path with the packaged-to-Docker migration guide before you choose the deployment model.
How are managed repositories backed up, and what does that add?
The packaged backup command includes Git and Subversion repositories along with the database dump, attachments and configuration. That means repository data is part of the same backup routine as your project data, and it grows as repositories grow. Backup cost comes from storage capacity, the schedule you choose and the time needed to test restores. Ask for the backup scope in writing, confirm the restore procedure covers repositories, and decide how long copies are kept. The backup documentation explains the command and its contents.
Which parts of the cost depend on what we already run?
Your existing infrastructure decides how much new work is needed. If you already run PostgreSQL 16 or later with the required extensions, and a supported Linux host with backup storage, the work is mostly configuration. If those pieces are missing, you add setup and testing time. Your current code hosting platform also matters: keeping repositories on a platform you already run may reduce migration work. Ask for the quote to list each prerequisite as in scope or out of scope, so you can see which costs come from your environment rather than from the integration itself.
How DeployOpen scopes and delivers repository integration
DeployOpen plans, builds, tests and documents OpenProject Git and Subversion repository integration inside your own infrastructure, starting from a written scope. We decide early whether repositories will be OpenProject-managed or external, because that choice sets the install method and the backup scope.
How we scope
- Confirm whether repositories will be OpenProject-managed on a packaged install or linked as external repositories.
- Inventory existing Git and Subversion repositories, their size, owners and the projects that reference them.
- Agree in writing which repositories, projects and backup targets the fixed-scope engagement covers, with timelines.
How we build
- Set up managed repository storage on the packaged install and confirm the Enterprise plan covers repository features.
- Link external repositories to the right OpenProject projects and verify access for each role.
- Configure the packaged backup so git and svn repositories are captured with the database, attachments and configuration.
How we hand over
- Deliver a runbook covering repository paths, permissions, backup and restore steps for repositories.
- Walk your administrators through a test restore so they can rebuild repositories without DeployOpen present.
- Document any Docker-based environment and the external repository endpoints that projects depend on.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover.
- Retest repository access and backup jobs after each OpenProject release you apply.
- Review repository permissions and backup coverage again when projects, teams or hosting change.

