Version controlled file system made by Presslabs to allow managed WordPress hosting customers to use in the same time Git and SFTP.
Open sourced, so that everyone can benefit from using a version-controlled environment without having to learn anything new.
Read the docs to learn more about gitfs.

gitfs /mount/dir

Install gitfs
1. presslabs@presslabs: ~/ (bash)


Automatically commits changes: create, delete, update files and their metadata.



Browse through working index and commit history.


Merging strategy

Merges with upstream by automatically accepting local changes.



Mounts the file system as a user or a group.



Caching commits reduces the memory footprint and speeds up navigation.



Reduces the number of commits by grouping pushes.

gitfs idea

How the idea came up

The idea of a git file system was conceived out of the need of users to make small changes to the project the developers were working on. Lacking the prior knowledge needed in order to use a version control system, these modifications were bringing nightmares to the development team and a solution was needed. Now you have the possibility of organizing everything into commits yourself with this FUSE file system for git.


Use cases

Mount your web server with gitfs for easy deployment and fast rollbacks. Use gitfs on a local project to keep track of all the changes.


How it works

Gitfs is written exclusively in Python. It uses the fusepy module to expose the file system, backed by pygit2. It's also thoroughly tested with over 95% coverage. It mounts a file system whose operations are mapped to the usual git ones. Whenever you write to a file in a gitfs-mounted file system, the file will be committed, and a push will be made to the origin.


How to contribute

Development of gitfs happens on GitHub. You are highly encouraged to contribute with code, tests, documentation, or just to share your experience.

Join the team

Would you like to give us a hand in bringing back hospitality in WordPress hosting? Do you share our passion to make WordPress better for millions of people?

Join our team