VFS for Git virtualizes the working tree so only accessed objects download, speeding status and checkout on huge repositories. It needs Windows 10 Anniversary Update or later and GVFS-capable Git hosting.
Overview
VFS for Git (formerly GVFS) addresses Git performance on very large monorepos by virtualizing the filesystem under a clone. Git and other tools see a normal directory, while the client fetches objects on demand and limits what operations scan.
Microsoft documents winget installation of the microsoft/git fork alongside VFS for Git. The stack relies on a PrjFlt filter driver and expects repositories without clean/smudge filters plus a root .gitattributes line containing -text.
Cloning uses gvfs clone against a service that speaks the GVFS protocol, commonly Azure DevOps. Day-to-day Git commands run in the mounted src directory until gvfs unmount.
New deployments are steered toward Scalar, which applies lessons from VFS for Git with newer Git developments, but VFS for Git remains available for existing Windows enterprise workflows.
Building from source requires Visual Studio workloads for .NET desktop and C++ development, producing a Windows installer after running the project build script.
Key features
- On-demand object download for huge repos
- Faster git status and checkout operations
- PrjFlt virtual filesystem filter driver
- GVFS protocol support for hosting
- Windows installer via winget or build
- Integrates with microsoft/git fork
- Former GVFS naming in protocol artifacts
Use cases
- Cloning multi-terabyte enterprise monorepos
- Speeding Git metadata operations on Windows
- Working with Azure DevOps GVFS-enabled repos
- Limited-disk developer machines on large trees