Git is a free, open-source, distributed version control system. Every clone holds the full history, and hosts such as GitHub and GitLab add pull requests, CI and access control on top. Perforce P4, formerly Helix Core, is a commercial centralised server. History lives on the server, and each workspace syncs only the files it maps.
Most teams that compare the two have large binary files: game art, video, chip designs. This page sets out what each side offers for those files, what it costs and where it can run. It is a directory entry, not a verdict. Every figure comes from the vendor’s own pricing page or documentation.
At a glance
| Git | Perforce P4 | |
|---|---|---|
| Owner | The Git project, open source | Perforce Software |
| Licence | GNU GPL version 2.0 | Proprietary |
| Model | Distributed. Every clone has the full history | Centralised. Workspaces sync the files their view maps from the server |
| Latest release | Git 2.56.1, 26 October 2026 | P4 Server 2026.1, per Perforce’s current documentation |
| Large binaries | Git LFS extension. On GitHub, files over 100 MiB need LFS; LFS files up to 2 GB on Free and 5 GB on Enterprise Cloud | Stored natively. Perforce says P4 scales to petabytes of data and millions of files |
| File locking | Git LFS locking. Depends on the server implementing the locking API | Exclusive checkout with the +l file type, enforced by the server |
| Free tier | Git is free. GitHub Free includes 10 GB of LFS storage and 10 GB of bandwidth a month | Up to 5 users, 20 workspaces and 3 Git repositories, self-hosted |
| Managed hosting | GitHub, GitLab, Bitbucket and others | P4 Cloud, $39 per user per month, up to 100 users |
| Interop | git p4 ships with Git and talks to a P4 server | P4 Git Connector, free with a P4 Server licence |
Hosted plans side by side
| Tier | Git | Perforce P4 |
|---|---|---|
| Free | GitHub Free, $0. 10 GB LFS storage and 10 GB bandwidth a month, LFS files up to 2 GB | P4 Free, $0, self-hosted. Up to 5 users, 20 workspaces, 3 Git repositories, no storage limit |
| Hosted team | GitHub Team, $4 per user per month. 250 GB LFS storage and 250 GB bandwidth a month, LFS files up to 4 GB | P4 Cloud, $39 per user per month, billed monthly. Up to 100 users, 64 GiB storage included, up to 32 TiB |
| Upper | GitHub Enterprise, $21 per user per month. 250 GB LFS storage and bandwidth on Enterprise Cloud, LFS files up to 5 GB | P4 Scale and P4 Platform, billed annually, price on quote. Unlimited users, workspaces and Git repositories |
Centralised and distributed
A Git clone copies the whole repository, history included. You commit, branch and inspect history offline, then push to a shared remote. That works well for source code, where files are small and text merges cleanly. It becomes a cost when a repository holds many gigabytes of binaries, because every clone carries all of it. GitHub recommends keeping a repository under 1 GB, and strongly recommends staying under 5 GB.
P4 keeps history on the server. A workspace syncs only the files its view maps, and a virtual stream gives a filtered view of a parent stream, so an artist can sync one folder of a large project. Perforce says P4 scales to petabytes of data and millions of files, and that 19 of the top 20 AAA game studios use it.
Git has partial tools of its own. Sparse checkout limits the working tree to chosen directories, but Git’s documentation still marks the command as experimental.
Large binaries and locking
Git handles large files through the Git LFS extension, which stores a small pointer file in the repository and keeps the content on a separate server. On GitHub, Git warns above 50 MiB and GitHub blocks files above 100 MiB, so larger files must go through LFS. GitHub caps a single LFS file at 2 GB on Free and Pro, 4 GB on Team and 5 GB on Enterprise Cloud. Included LFS storage and bandwidth are 10 GB a month on Free and 250 GB on Team and Enterprise Cloud. Usage beyond that is billed.
Git LFS adds file locking. You mark a pattern as lockable, Git LFS makes those files read-only until you run git lfs lock, and the server records the lock. The Git LFS project says locking depends on the server implementing its locking API, and that Git LFS will not stop a push when it cannot verify locks. GitLab documents LFS exclusive locks on all tiers, and adds default-branch locks in the web interface on Premium and Ultimate.
P4 locks on the server. The +l file type means only one user can open a file for edit at a time. An administrator can apply it to whole file patterns with p4 typemap. p4 lock is a weaker form: anyone can open the file, but only the lock holder can submit.
# Git LFS: mark a pattern lockable, then lock a filegit lfs track "*.uasset" --lockablegit lfs lock Content/Hero.uasset# P4: exclusive checkout on an open filep4 reopen -t binary+l Content/Hero.uasset
Pricing, licence and hosting
Git is released under the GNU GPL version 2.0 and costs nothing. What you pay for is hosting. On GitHub, Team is $4 and Enterprise $21 per user per month, with the LFS allowances above.
P4 is proprietary. The free tier covers up to 5 users, 20 workspaces and 3 Git repositories on a server you host, with 3 lifetime support cases. Perforce says that beyond 5 users or 20 workspaces the server keeps working but is capped at 1,000 files. P4 Cloud is a single-tenant server hosted and managed by Perforce, sold through the Azure Marketplace at $39 per user per month for teams up to 100. It includes 64 GiB of storage and grows to 32 TiB. P4 Scale and P4 Platform are billed annually and priced on quote.
Other P4 hosting routes: Perforce publishes pre-installed P4 images for AWS, Azure, Google Cloud and DigitalOcean, free for up to 5 users. Assembla, a Perforce partner, sells a multi-tenant Perforce Cloud at $52.25 per user per month on an annual commitment, with 1 TB included.
Using Git with P4
Perforce’s current Git bridge is the P4 Git Connector. It mirrors, caches or replicates Git repositories into graph depots on a P4 Server, so developers can push and pull with Git while artists stay on P4. Perforce says it is included with a P4 Server licence and free to download. Version 2025.2 was released on 14 November 2025 and runs on Linux only. The older Git Fusion bridge does not appear in Perforce’s current Git documentation.
Perforce TeamHub hosts Git, Mercurial and Subversion. Its Enterprise plan, which is on-premises, lists connection to P4 through the Git Connector. TeamHub has Standard, Premium and Enterprise plans, all billed annually on quote. Perforce discontinued the free TeamHub tier on 28 July 2025.
Moving between them
git p4 ships with Git. It clones a P4 depot path into a Git repository, syncs new P4 changes as commits, and can submit Git commits back to P4. Clone and sync need no P4 workspace; submit does. The Git documentation notes that git p4 can read Git LFS files but cannot submit them.
A move is more than history conversion. Locking, branching and partial sync all work differently, and large binaries need an LFS plan and an LFS quota on the new host.
git p4 clone //depot/path/project@all projectcd projectgit remote add origin git@github.com:org/project.gitgit push -u origin master
Frequently asked questions
Is Perforce better than Git for large files?
They work differently. P4 stores binaries natively and lets each workspace sync only part of the depot. Git needs the Git LFS extension for large files, and hosts set limits: GitHub caps single LFS files at 2 GB to 5 GB depending on plan.
Can Git lock files like Perforce?
Git LFS has file locking: lockable files are read-only until you lock them, and the server records the lock. It depends on the server implementing the LFS locking API. P4 enforces exclusive checkout on the server with the +l file type.
Is Perforce free?
For up to 5 users, 20 workspaces and 3 Git repositories on a server you host. P4 Cloud costs $39 per user per month. Scale and Platform plans are priced on quote.
Is Git Fusion still available?
Perforce’s current Git documentation describes the P4 Git Connector instead, which is free with a P4 Server licence. Git Fusion is not mentioned there.
How do I migrate from Perforce to Git?
git p4, which ships with Git, clones a P4 depot path with its history into a Git repository. Add @all to the depot path to import every change, then push the result to your Git host.
Sources
Checked on 15 November 2026. Prices and limits change without notice. Each link goes to the page the figure came from.
- Gitgit-scm.com
- About Git (licence)git-scm.com
- git p4 documentationgit-scm.com
- git sparse-checkout documentationgit-scm.com
- Git LFS file lockinggithub.com
- Git LFS 2.0.0 released (GitHub blog)github.blog
- GitHub pricinggithub.com
- GitHub: about large filesdocs.github.com
- GitHub: about Git Large File Storagedocs.github.com
- GitHub: Git LFS billingdocs.github.com
- GitLab file lockingdocs.gitlab.com
- Perforce P4www.perforce.com
- P4 pricingwww.perforce.com
- P4 in the cloudwww.perforce.com
- P4 Guide: preventing multiple checkoutshelp.perforce.com
- P4 Guide: virtual streamshelp.perforce.com
- P4 Server admin: working with Githelp.perforce.com
- P4 Git Connector release notesftp.perforce.com
- Perforce TeamHub pricingwww.perforce.com
Related pages
- Hosting for Subversion, Perforce and large binary files
Every platform in the directory that hosts Subversion, runs Perforce, or handles large binary files with exclusive locking.
- GitLab vs GitHub
The two platforms most teams compare first, side by side on price, limits, hosting model and licence.
- GitLab alternatives
Every platform that can replace GitLab, grouped by how it is run, with the free-tier limits that send people looking.
- GitHub vs Bitbucket
Two hosted Git platforms with close per-seat prices and very different ecosystems, side by side.
- Bitbucket alternatives
Every platform that can replace Bitbucket, including the self-hosted options now that Data Center is closed to new customers.
- Gitea vs GitLab
The lightweight forge and the all-in-one platform, side by side for teams that want to run their own.
- Forgejo vs Gitea
Two self-hosted forges from one codebase, compared on what has diverged since the fork.
- Codeberg vs GitHub
A non-profit forge for free software next to the largest commercial Git host, side by side.
- Azure DevOps vs GitHub
Two Microsoft developer platforms with different pricing, CI models and roadmaps, side by side.
- Bitbucket vs GitLab
Atlassian’s Git host and GitLab side by side: seat prices, CI allowances, Jira, single sign-on and running it yourself.
- Forgejo vs GitLab
A small community forge and an all-in-one company platform, side by side for teams that run their own server.
- Codeberg vs GitLab
A non-profit host for free software and a company’s hosted DevSecOps platform, side by side.
- Gogs vs Gitea
The original lightweight Go forge and the community fork that grew out of it, side by side.
- Git hosting pricing compared
What every Git hosting platform charges, per user or per plan, with its free tier, in one place.