Need help with VFSForGit?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

5.4K Stars 426 Forks MIT License 2.4K Commits 296 Opened issues


Virtual File System for Git: Enable Git at Enterprise Scale

Services available


Need anything else?

Contributors list

VFS for Git

|Branch|Unit Tests|Functional Tests|Large Repo Perf|Large Repo Build| |:--:|:--:|:--:|:--:|:--:| |master|Build status|Build status|Build status|Build status| |shipped|Build status|Build status|Build status|Build status|

What is VFS for Git?

VFS stands for Virtual File System. VFS for Git virtualizes the file system beneath your Git repository so that Git and all tools see what appears to be a regular working directory, but VFS for Git only downloads objects as they are needed. VFS for Git also manages the files that Git will consider, to ensure that Git operations such as

, etc., can be as quick as possible because they will only consider the files that the user has accessed, not all files in the repository.

See our documentation for instructions to get started.

New name

This project was formerly known as GVFS (Git Virtual File System). It is undergoing a rename to VFS for Git. While the rename is in progress, the code, protocol, built executables, and releases may still refer to the old GVFS name. See for the latest status of the rename effort.

Installing VFS for Git

  • VFS for Git requires Windows 10 Anniversary Update (Windows 10 version 1607) or later
  • Run the latest GVFS and Git for Windows installers from

Building VFS for Git

If you'd like to build your own VFS for Git Windows installer: * Install Visual Studio 2017 Community Edition or higher ( * Include the following workloads: * .NET desktop development * Desktop development with C++ * .NET Core cross-platform development * Include the following additional components: * .NET Core runtime * Windows 10 SDK (10.0.10240.0) * Install the .NET Core 2.1 SDK ( * Install

* Create a folder to clone into, e.g.

* Clone this repo into the
subfolder, e.g.
* Run
* You can also build in Visual Studio by opening
(do not upgrade any projects) and building. However, the very first build will fail, and the second and subsequent builds will succeed. This is because the build requires a prebuild code generation step. For details, see the build script in the previous step.

You can also use Visual Studio 2019. There are a couple of options for getting all the dependencies. * You can install Visual Studio 2017 side by side with Visual Studio 2019, and make sure that you have all the dependencies from Visual Studio 2017 installed * Alternatively, if you only want to have Visual Studio 2019 installed, install the following extra dependencies: * MSVC v141 VS 2017 C++ build tools via the optional components in the Visual Studio 2019 installer. It is under the "Desktop Development with C++" heading. * Windows 10 SDK (10.0.10240.0) via the archived SDK page:

Visual Studio 2019 will automatically prompt you to install these dependencies when you open the solution. The .vsconfig file that is present in the root of the repository specifies all required components except the Windows 10 SDK (10.0.10240.0) as this component is no longer shipped with VS2019 - you'll still need to install that separately.

The installer can now be found at


Trying out VFS for Git

  • VFS for Git will work with any Git service that supports the GVFS protocol. For example, you can create a repo in Azure DevOps, and push some contents to it. There are two constraints:
    • Your repo must not enable any clean/smudge filters
    • Your repo must have a
      file in the root that includes the line
      * -text
  • gvfs clone 
    • Please choose the Clone with HTTPS option in the
      Clone Repository
      dialog in Azure Repos, not Clone with SSH.
  • cd \src
  • Run Git commands as you normally would
  • gvfs unmount
    when done


The VFS for Git source code in this repo is available under the MIT license. See

VFS for Git relies on the PrjFlt filter driver, formerly known as the GvFlt filter driver, available as a prerelease NuGet package.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.