Best source code hosting platforms for small and mid-sized businesses

GitLab suits teams that want code, CI and security features in one platform and accept a larger footprint. Forgejo or Gitea suit teams that want a light self-hosted forge, and GitHub or Bitbucket suit teams that accept a hosted service and its data terms.

On this page

Which source code hosting for small business fits your team?

Choose GitLab when one platform should cover code, CI and security for a team that can operate it. Choose Forgejo or Gitea when you want a light self-hosted forge and will bring your own CI and security tooling. Choose GitHub or Bitbucket when a hosted service and its data location terms are acceptable. GitLab is open core: files outside the ee/ directory are MIT licensed, while files under ee/ are proprietary and need a paid subscription. GitLab Free costs nothing, Premium is $29 per user per month billed annually and Ultimate is custom priced, according to GitLab's pricing page. Forgejo is GPL-3.0-or-later from v9.0 onward, with earlier versions under MIT, and Gitea is MIT licensed. GitHub and Bitbucket are commercial products, so your right to use them comes from their subscription terms.

Operating effort separates the self-hosted options. GitLab ships a minor release on the third Thursday of each month and currently maintains 19.5, 19.4 and 19.3, so plan a monthly upgrade window, a tested backup and restore routine, and a sizing review against GitLab's reference architectures before buying hardware. Forgejo LTS releases get one year and three months of critical and security support, and v15 is supported until July 15, 2027, so plan upgrades around that window. Gitea runs on Linux, macOS and Windows and supports MySQL, PostgreSQL, SQLite and MSSQL, so confirm which database your team will operate. Switching cost depends heavily on CI. Gitea Actions is designed to be compatible with GitHub Actions, while Forgejo Actions is not, so workflows written for one forge need rework on another.

Hosted options trade operating effort for data location terms. GitHub Team is $4 and Enterprise is $21 per user per month on GitHub's pricing page. Enterprise Cloud with data residency runs on dedicated GHE.com subdomains in EU (including Azure regions in Norway and Switzerland), Australia, US or Japan, and GHE.com does not offer public repositories. Bitbucket Cloud Free covers up to 5 users, Standard is $3.65 and Premium is $8 per user per month, while Bitbucket Data Center is self-managed and its pricing is available only from Atlassian. Before you sign, ask where source code, access tokens and SSH keys are stored, because storage for tokens and keys can sit in a different location from the code. Also check repository limits: GitHub enforces a 100 MB maximum file size, and Bitbucket Cloud repositories have a 4 GB size limit.

Source code hosting for small business by team situation

This table matches common small business situations to the platform that fits best, with the condition that makes each fit hold. Read each row as a starting point, then confirm the flagged vendor facts before you commit. The main takeaway is that data residency, CI scope and self-hosting obligations usually decide the shortlist before price does.

ScenarioBest fitWhy
No dedicated platform engineerManaged commercial hosting, such as GitHubThe vendor runs uptime, upgrades and backups, so this holds only if hosted code is acceptable. Confirm support and backup terms in writing.
CI and security scanning in one toolGitLab (self-managed)Premium adds advanced CI/CD; Ultimate adds application security testing and compliance features but is custom priced. Request a quote for the scanners you need.
Lightweight forge on modest hardwareGiteaGitea documents support for small systems, including a Raspberry Pi. Fits small teams with light CI; load-test your workload and confirm sizing with Gitea.
Already running GitHub Actions workflowsGitHub, or Gitea with Gitea ActionsGitea Actions is designed to be compatible with GitHub Actions; Forgejo Actions is not. Test your workflows on a sample repository before migrating.
EU-only data residencyGitHub Enterprise Cloud with data residency, or self-hosted in EU infrastructureGHE.com offers EU regions, including Azure in Norway and Switzerland, but no public repositories. Confirm residency terms and sub-processors with GitHub.
Microsoft-centred EU teamAzure DevOps Services with an EU geographySource and work items stay in the chosen geography, but tokens and SSH keys are stored in a US datacenter. Confirm this fits your policy.
Must keep Git fully self-hostedForgejo (or Gitea)Forgejo is GPL-3.0-or-later from v9.0, and its governance stays independent. Confirm the upgrade window against its LTS support dates before you commit.
Self-hosted with GitLab featuresGitLab Community Edition or a paid self-managed tierCE is MIT, but files in ee/ are proprietary and need a paid subscription. Confirm which features you need are in CE.

What GitLab, Forgejo, Gitea, GitHub and Bitbucket each bring to a small team

Five platforms with different licenses, release cadences and cost models sit on this shortlist. The three open-source options differ mainly in license terms and support windows, while the two commercial options depend on whether you buy Cloud or a self-managed edition. Read each card for the decision it changes, then confirm the quoted terms with the vendor.

GitLab's open core split

GitLab's repository is open core. Code outside the ee directory is under the MIT Expat license, while ee content is under the GitLab Enterprise Edition license, so the paid features live in files you cannot use without a subscription. Free costs 0 dollars, Premium costs 29 US dollars per user per month billed annually, and Ultimate is custom priced. All three tiers are available for self-managed installations. Premium adds advanced CI/CD and priority support, while Ultimate adds application security, supply chain and compliance features. Map your requirements to a tier and get the quote in writing.

GitLab pricing

Forgejo's license and LTS timing

Forgejo is GPL-3.0-or-later from v9.0 onward, with earlier versions under MIT, so the license depends on the version you deploy. Check the version line before you deploy. v15 is the LTS release, supported until July 15, 2027. v17.0.0 was released on October 15, 2026 with support until January 28, 2027, and stable releases get full support for three months plus a two-week window, so a non-LTS line needs an upgrade within that window. Codeberg e.V. owns the domains while project governance stays independent. Confirm your license position for the chosen version with the Forgejo FAQ.

Forgejo FAQ

Gitea's all-in-one Go service

Gitea is MIT licensed and written in Go. It combines Git hosting, code review, team collaboration, package management and CI/CD in one service. Gitea Actions is designed for GitHub Actions compatibility, which can reduce porting work, but test each workflow on your runners because compatibility is a design goal. The package registry supports more than 20 types, including npm, PyPI, Maven, container images and Helm charts. A commercial edition from CommitGo exists, so confirm its terms, support scope and feature split before you rely on it.

GitHub's cloud and self-hosted split

GitHub is a commercial platform and does not carry an open-source license. Team costs 4 dollars and Enterprise 21 dollars per user per month. Enterprise comes as GitHub Enterprise Cloud or as self-hosted GitHub Enterprise Server, and Enterprise Server 3.22, released September 8, 2026, is the newest supported release. Cloud data residency runs on a dedicated GHE.com subdomain in EU, Australia, US or Japan regions, and GHE.com does not offer public repositories or certain Copilot features. Self-hosting means your team runs the upgrades, so plan them against GitHub's support window for feature releases.

Bitbucket's cloud tiers and Data Center

Bitbucket is commercial and carries no open-source license. Cloud Free covers up to 5 users, while Standard costs 3.65 dollars and Premium 8 dollars per user per month. Premium adds enforced merge checks, IP allowlisting, deployment permissions and required two-step verification, so check those controls against your access policy. Data Center is Atlassian's self-managed option for strict regulatory or security needs, and its price is on request. Atlassian's published Data Center end-of-life dates differ across its pages, so get current dates in writing. Cloud repositories cap at 4 GB, so check repository sizes early.

Source code hosting for small business: capabilities side by side

This table compares GitLab, Forgejo and Gitea on the capabilities that shape fit for a small or mid-sized team, including license, paid tiers, built-in CI, databases, support windows and upgrade cadence. Read each row against your own identity, backup and compliance needs, and treat any cell that names a confirmation item as an open question for the vendor or project. The main takeaway is that licensing and CI compatibility differ most between these options, so settle those two rows first.

CapabilityGitLabForgejoGitea
LicenseOpen core: MIT outside the ee/ directory, GitLab Enterprise Edition license inside itGPL-3.0-or-later from v9.0 onward, MIT for earlier versionsMIT licensed, written in Go
Paid tiersFree, Premium at 29 US dollars per user per month billed annually, Ultimate custom priced; all tiers self-managedConfirm with the Forgejo project and any hosting partner which paid support options are availableCommercial edition from CommitGo; confirm its tiers, pricing and support terms with CommitGo
Built-in CI and compatibilityGitLab CI/CD with separate GitLab Runner agents; advanced CI/CD is listed for PremiumForgejo Actions uses separate runners, is familiar to GitHub Actions users but is not compatible with GitHub ActionsGitea Actions is designed to be compatible with GitHub Actions; confirm which workflows run unchanged
Package registriesConfirm with GitLab which package formats your tier includes and how the registry scales on your own serversConfirm with the Forgejo project which package registry types your chosen release includesMore than 20 registry types, including npm, PyPI, Maven, container images and Helm charts
Supported databasesConfirm current database support for your release in the GitLab installation documentationConfirm the supported database list for your Forgejo release in the Forgejo documentationMySQL, PostgreSQL, SQLite and MSSQL
Self-hosted availability and data locationSelf-managed on all tiers; data location follows your hosting, so confirm backup and replication locations with GitLabSelf-hosted in your own infrastructure; confirm the install method and release your security team will acceptSelf-hosted on Linux, macOS and Windows, including small systems such as a Raspberry Pi; data location follows your hosting
Support windowSecurity fixes go to the current and previous two releases, per GitLab's maintenance policy; 19.5, 19.4 and 19.3 are maintainedStable releases get three months plus two weeks; v15 LTS is supported until July 15, 2027Release lines include v1.27.3 (August 29, 2026) and v28.1.0 (October 6, 2026); confirm support length with the project
Repository size limitsConfirm repository and LFS size limits for your installation with GitLabConfirm repository size and push limits for your instance and reverse proxy with ForgejoConfirm repository size and push limits in your configuration and reverse proxy with the Gitea project
Upgrade cadenceMajor release yearly (20.0 planned for May 2027), minor monthly on the third Thursday, patches twice a monthLTS releases come each first quarter; upgrades from Gitea up to v1.22 are documented in two stepsRelease lines such as v1.27 and v28.x; confirm the upgrade path and release cadence with the project

How a small team narrows the Git host shortlist

The path starts with one question: may source code and CI run in a hosted service? If not, the team checks whether it needs modest hardware, which leads to Forgejo or Gitea. If it does not, the team asks whether one platform for CI and security scanning matters more than footprint, which leads to GitLab or Bitbucket. If hosting is allowed, EU-only residency or a requirement for self-hosted GitHub sends the team to GHE.com or GitHub Enterprise Server. Otherwise, existing GitHub Actions workflows point to GitHub Cloud. Every endpoint still needs a pilot with your own repositories, runners and identity provider before you commit.

Each endpoint still needs a pilot before the shortlist is final.

Why GitLab open core and Forgejo's license change affect your cost

Licensing decides which features you pay for before you pay for hosting. GitLab Community Edition is MIT licensed, but files in the ee/ directory are proprietary and need a paid subscription, so a feature you depend on may sit on the paid side of that line. GitLab's LICENSE file is the starting point for that check. GitLab's pricing page lists Free at 0 dollars, Premium at 29 US dollars per user per month billed annually, and Ultimate as custom priced, with all three available for self-managed installations. Map each feature your team needs to a tier before you size the budget. Subscriptions recur every year for every named user, so cost grows with headcount. The server, storage, backups and the staff time to run them are separate costs that you carry yourself.

Forgejo's license depends on the version you deploy. Releases from v9.0 onward are GPL-3.0-or-later, and earlier versions remain under MIT. The Forgejo FAQ explains the change and the governance structure, including that Codeberg e.V. owns the domains while the project stays independent. Ask counsel what GPL-3.0-or-later obliges your team to do if you modify the code, host it for customers or pass a build to a partner. The answer determines whether an internal fork is a simple change or a distribution event. Gitea is MIT licensed, and CommitGo offers a commercial edition. Get that edition's license terms, support scope and feature list in writing before you assume the MIT core covers your plan.

Commercial hosts charge per seat. GitHub's pricing page lists Team at $4 and Enterprise at $21 per user per month, and Enterprise is also available as self-hosted GitHub Enterprise Server. Bitbucket Cloud Standard is $3.65 and Premium is $8 per user per month. Bitbucket Data Center pricing is not published, so you must request a quote. This is where the Atlassian conflict matters. Atlassian announced on September 8, 2025 that its Data Center products reach end of life on March 28, 2029. Its journey-to-cloud page, however, says Bitbucket Data Center will not reach end of life and will continue beyond 2029. Ask Atlassian to confirm in writing which statement governs your contract, the support end date for the version you run, and the terms of any Bitbucket Hybrid License renewal.

How to choose source code hosting for small business and pilot it

This sequence takes a small or mid-sized team from a list of hosting constraints to a written scope for one source code hosting platform. Each step has a named owner and closes with a check the team can verify, so the pilot produces evidence that supports the quote.

  1. Write hosting constraints as a checklist

    Record the hard requirements before comparing products: where source code and backups may be stored, whether the platform must run offline or in an air-gapped network, and which sign-in methods the identity provider must support. Use the GitLab offline environments guide and the authentication and authorization documentation as a checklist of questions to ask each vendor and each self-hosted option. The IT lead drafts the list and the security or compliance lead signs off. Done when every constraint is written as a yes or no question with an owner.

  2. Count users and map each tier

    Count the people who need write access, then map each option to the tier that covers your constraints. Published prices show GitLab Free at 0 dollars and Premium at 29 US dollars per user per month billed annually, according to the GitLab pricing page. GitHub Team is 4 dollars and Enterprise is 21 dollars per user per month, and Bitbucket Cloud Standard is 3.65 dollars per user per month. Bitbucket Data Center pricing is not on the public page, so request it from Atlassian. The IT lead builds the table and finance checks it against the budget. Done when each option has a monthly figure at your user count.

  3. Check CI compatibility for each forge

    List the pipelines the team runs today and confirm which CI system each candidate can run them on. Gitea Actions is designed to be compatible with GitHub Actions, so GitHub workflows may port with fewer changes, but test that claim against your own workflows. Forgejo Actions is designed to feel familiar to GitHub Actions users but is not compatible with GitHub Actions, so expect to adjust any workflow that depends on GitHub-specific behavior. GitLab uses its own CI/CD and GitLab Runner. The platform engineer owns this check. Done when one sample pipeline per candidate has run on a test runner.

  4. Test repository sizes against platform limits

    Measure the largest repositories, including history, against the published limits. GitHub's repository documentation recommends keeping the .git folder under 10 GB and single objects under 1 MB, and enforces a 100 MB maximum file size and a 2 GB maximum push size. Bitbucket Cloud repositories have a 4 GB limit, Atlassian recommends staying under 2 GB, and Free workspaces get 1 GB of total repository storage. Confirm the size limits for the self-hosted options in their own documentation. The platform engineer owns this check. Done when each large repository has a recorded size and a fit or no-fit result for each option.

  5. Pilot the shortlist on a test system

    Install the shortlisted self-hosted option on an isolated test system, following the GitLab installation methods page for a GitLab pilot. Import a sample of repositories, including one large repository from step four, using the GitLab import and migrate documentation as the checklist. Record how sign-in works through your identity provider and which admin settings you changed. The platform engineer runs the pilot and the security engineer reviews access. Done when the imported repositories, the sign-in test and one pipeline all work on the test system.

  6. Run a backup and restore test

    Back up the pilot instance and restore it to a second test system, then confirm that repositories, users and CI settings come back intact. Use the GitLab backup and restore documentation as the procedure and as the list of what it covers. Ask the vendor or the platform engineer to confirm what the backup includes and what it leaves out in your configuration, such as external object storage or container images. The platform engineer runs the restore and the operations lead signs off the result. Done when the restored copy matches the original on the checks you wrote down.

  7. Turn the choice into a written scope

    Write the chosen option's scope, deliverables and acceptance checks, then request quotes against that same document. DeployOpen agrees fixed scope, deliverables and timelines in writing before work starts and publishes no price list, so the quote follows from the written scope. Include the hosting environment, identity integration, backup and restore procedure, CI migration and the tier from step two. Ask each quote to separate one-time setup from recurring subscription, support and retainer costs. The IT lead owns the scope and procurement owns the quote. Done when the IT lead, security lead and finance have signed the scope and every quote is priced against it.

What running each Git host costs in operating effort

GitLab self-managed carries the most recurring calendar of the three options. GitLab ships a major release yearly, with 20.0 planned for May 2027, a minor release on the third Thursday of each month, and patch releases twice a month. The maintenance policy lists 19.5, 19.4 and 19.3 as maintained, and security fixes reach the current and previous two monthly releases, so a team that falls more than two monthly releases behind stops receiving those backports. Your staff, hosts and runners carry all of this work.

  • Upgrades: Budget a monthly minor upgrade window and check the GitLab upgrade paths before each jump. Staff time is the largest recurring cost, and skipped versions make each upgrade larger.
  • Backups: The GitLab backup and restore documentation covers the procedure, but your team owns storage, retention and regular restore tests inside your own infrastructure.
  • Runner fleet: GitLab Runner executes pipelines on machines you provision, patch and pay for. Pipeline growth adds compute, so ask who approves new runner capacity.
  • Reference architecture sizing: Use the GitLab reference architectures as a starting point, then confirm the size for your user count and component layout with GitLab before you buy hardware.
  • Licensing: GitLab Free costs 0 dollars, Premium is listed at 29 US dollars per user per month billed annually, and Ultimate is custom priced. All three tiers are available for self-managed installations. Premium adds advanced CI/CD and priority support, and the subscription recurs.

Before you commit, confirm which tier includes the security and compliance features your team needs, and ask for an estimate of monthly upgrade, backup and runner hours in your environment.

What do small teams ask before running a Git host themselves?

How much does it cost to self-host a Git server for a small team?

Licensing is usually the smallest line, and staff time is the largest. GitLab Free is listed at $0 on its pricing page, Premium is $29 per user per month billed annually, and Ultimate is custom priced. Gitea and Forgejo carry no license fee under their open-source licenses, but you still pay for servers, storage, backups and the people who patch and upgrade them. Those costs recur every year. A DeployOpen fixed-scope implementation quote covers planning, setup, integration, hardening and documentation, is mostly one-time, and follows from a written scope. DeployOpen does not publish prices. Ask any implementer to split its quote into one-time work and recurring support, and estimate your own team's monthly hours.

How long does it take to set up a self-hosted Git host?

Setup time depends on factors you should confirm with the implementer, so ask for a dated plan before you commit. The biggest drivers are:

  • Identity integration: SSO, group mapping and admin roles depend on your identity provider and how clean its groups are.
  • Migration volume: repository count, history size and whether issues, merge requests and wiki pages move with the code.
  • CI rewrites: Forgejo Actions is not compatible with GitHub Actions, so workflows need changes, while Gitea Actions is designed to be compatible.
  • Environment: air-gapped networks, backup targets and runner placement.

Ask for a written plan that lists each dependency, the migration waves and who approves cutover.

Can a small team run a self-hosted Git server without outside help?

Yes, a small team can run one, but the ongoing work matters more than the install. Someone has to own backups and tested restores, upgrades, TLS certificates, access reviews and incident response. GitLab ships a minor release monthly and backports security fixes to the previous two releases, so an operator needs a standing upgrade routine. GitLab's backup and restore documentation is a good starting point for that routine. Confirm how many hours a month this takes, who covers holidays and what happens if the only administrator leaves. If that answer is thin, one option is a retainer for upgrades, monitoring and testing, or a fixed-scope handover that transfers runbooks to your staff.

How do repositories move between Git hosts, and what size limits apply?

Repositories usually move through the destination host's import tooling or a mirror push, and the limits to check are file size, repository size and push size. GitLab documents how projects are imported and migrated, so confirm which metadata (issues, merge requests, wiki, CI variables) each path carries before cutover. Forgejo documents a transparent upgrade from Gitea up to v1.22 in two steps, first to Forgejo v10.0.x and then to a later Forgejo version. Commercial hosts publish their own limits. GitHub recommends keeping the .git folder under 10 GB and single objects under 1 MB, and it enforces a 100 MB maximum file size and a 2 GB maximum push. Bitbucket Cloud repositories have a 4 GB limit, and Atlassian recommends staying under 2 GB. Limits for self-hosted GitLab, Forgejo and Gitea depend on your configuration, so confirm them and rehearse the migration with your largest repository.

Which of Forgejo, Gitea or GitLab has the clearest support windows?

Forgejo publishes the most specific dated windows, while GitLab has the clearest rolling policy. Gitea's support window is the one to confirm directly with the project. Forgejo stable releases get full support for three months plus a two-week window, and its LTS releases, published in the first quarter of each year, get critical bugfixes and security support for one year and three months. Forgejo v15 is the LTS release supported until July 15, 2027, and v17.0.0 is supported until January 28, 2027. GitLab ships a minor release monthly and currently maintains 19.5, 19.4 and 19.3, with bug fixes going only to the current release and security fixes also going to the previous two. Gitea's release line is active, with v28.1.0 released on October 6, 2026, but no dated support window was confirmed here. If you need dated support, Forgejo's LTS track is the most explicit. If you need a predictable release calendar, GitLab's policy is.

Is DeployOpen an official partner of GitLab, Forgejo or GitHub?

No. DeployOpen is not an official partner, reseller or certified provider of GitLab, Forgejo, Gitea, GitHub or Atlassian. DeployOpen is a Chainscore Labs company that plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms in your own infrastructure. Vendor continuity is a separate question for any host. Thomas Dohmke announced on August 11, 2025 that he was leaving as GitHub's CEO, and GitHub will continue as part of Microsoft's CoreAI organization. Weigh that in your own vendor review. It does not settle GitHub's direction on its own. For open-source options, read the governance statements directly: Forgejo's domains are owned by Codeberg e.V., a Berlin non-profit, while its project governance stays independent. Ask any host for its roadmap and contract terms in writing.

Does a self-hosted Git forge satisfy compliance requirements on its own?

No. A self-hosted forge is a system you can configure and evidence, but installing it does not satisfy a framework, and no hosting choice certifies your organization. DeployOpen prepares the systems, controls and evidence for compliance assessments, such as access configuration, logging, backup and change records, and helps explain them to your assessors. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies issue those. Ask your assessor early which evidence they expect from the forge, the CI runners and the identity provider. Confirm which controls your frameworks require and who owns each one. The same questions apply to a commercial host, where you still need to review the vendor's own reports and contract terms.

How DeployOpen scopes Git hosting selection and implementation

DeployOpen plans, implements and supports self-hosted open-source platforms, including Git hosting, inside your own cloud accounts, data centers or air-gapped networks. Platform choice is tested against your team size, CI needs and identity setup before any build starts. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing first, and ongoing support is available as a retainer.

How we scope

  • Written scope covering which Git platform, edition and hosting location is in and out of the engagement.
  • Repository and file sizes checked against documented platform limits, such as GitHub's 100 MB maximum file size.
  • Fixed-scope terms with deliverables and timelines agreed in writing before work starts, plus optional retainer support.

How we build

  • Deployment in your cloud accounts, data centers or air-gapped network, with the platform installed to the agreed architecture.
  • SSO, access control and audit logging set up against your identity provider where the platform supports them.
  • Runners on separate hosts where the chosen platform's CI model calls for them, as Forgejo Actions does.

How we hand over

  • Documentation of the installed setup, administration tasks, upgrade steps and access model, delivered with the project.
  • Backup and restore procedures for repositories, databases and attachments, covered in the agreed scope.
  • Migration plan for existing repositories and users, with the import method and cutover steps written down.

How we support

  • Upgrade planning against the platform's own release and support windows, so patch and version decisions are dated.
  • Security testing of the Git setup, covering admin settings, access and CI permissions, reported with suggested fixes.
  • Retainers for upgrades, ongoing support and continuous testing, agreed in writing like the initial scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.