Skip to content

GitMC

GitMC brings full Git version control into your Minecraft singleplayer worlds, commit snapshots, create branches, switch between them, and back everything up to GitHub, all from in-game chat commands without any external tools.

Fabric
Loaders
Fabric
Downloads on Modrinth
113
Followers on Modrinth
6
version
1
Updated
April 4, 2026Apr 4
Published
in 2026
Switching Branches — after /git switch <branch> or /git checkout <branch> · swipe

At a glance

Runs on Fabric
For Minecraft 26.1
Needed in the game and on the server
Latest version — 1.0.0 from April 4, 2026
Requires Fabric API and Fabric Language Kotlin
License MIT — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions26.1

Ever demolished a build you immediately regretted? Wanted to try a completely different base layout without risking your current world? GitMC gives your Minecraft world a full Git repository - the same technology developers use to manage code - so you can save snapshots, experiment freely, and always go back.

No terminal. No external apps. Just type /git save "my message" and you're covered.


What you can do

📸 Save snapshots Run /git save "Built the nether hub" to checkpoint your world at any moment. Every snapshot stores exactly what your world looked like — blocks, structures, terrain changes.

🌿 Branch your world Create a separate branch to experiment with a mega-build or a new base layout, while your "main" world stays untouched. Switch between them with a single command — GitMC auto-saves before switching and reloads the world automatically.

⏪ Travel through time — and back Use /git log to see your history and `/git checkout to jump back to any past state. Your position is restored after the reload so you land right where you were. Done exploring?/git latest` brings you straight back to the newest commit - no need to remember which branch you came from.

🔄 Auto-commit Configure GitMC to save automatically every X minutes, when you sleep in a bed, or when you leave the world. You'll never lose a session of progress again.

☁️ Back up to GitHub Push your entire world history - all branches, all commits - to a private GitHub repository. Pull it back on any machine. Your world, in the cloud, forever.

🗂️ Restore individual chunks Accidentally corrupted a region or blew up the wrong thing? Restore specific .mca chunk files from any past commit without touching the rest of your world.


How it works

GitMC embeds JGit directly - no Git installation needed on your system. Each world gets its own .git folder inside its save directory. A .gitignore is automatically created and kept up to date, so only meaningful world data is tracked (no session locks, no per-tick noise, no player inventory spam).

All feedback is non-intrusive: quick operations show a small toast notification in the corner, slow network operations (push/pull) show a progress bar that disappears when done.


Quick start

/git init
/git save "My first snapshot"
/git branch create experiment
/git switch experiment
/git switch main

FAQ

How to install GitMC?

Install Fabric for your Minecraft version, download GitMC for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does GitMC support?

GitMC has builds for Minecraft 26.1.

Is GitMC needed on the server?

Needed in the game and on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More