ModsJava
Git Craft | Use Git On Your MC Server
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotGitCraft is a fully functional in-game Git client built into your Minecraft server.
It allows server administrators to commit, push, pull, fetch, and manage Git repositories without ever leaving the game.
Compatible with:
- PaperMC 1.21.4
- Java 21
- Works with both local and self-hosted Git servers (Gitea, Forgejo, etc.)
- In-game Git commands (init, add, commit, push, pull, etc.)
- Secure credential storage using H2 database and AES encryption
- Per-user Git commits using in-game name & custom email
- Warns users when using public Git hosts (GitHub, GitLab)
- Repository path selector via flags
- Optional permission restrictions for each command
- Help command: /git help
Configuration
Code (YAML):
disable-unsafe-warning
: false
Commands Overview
Code (Text):
/git init --path=<dir>
/git add <file...> [--path=<dir>]
/git reset --hard|<file> [--path=<dir>]
/git commit --message="Your message" [--path=<dir>]
/git remote --add|--set-url|--remove --url=<url> [--path=<dir>]
/git push [--path=<dir>]
/git pull [--path=<dir>]
/git fetch [--path=<dir>]
/git login --username=<name> --token=<pat>
/git whoami
/git logout
/git help
/git add <file...> [--path=<dir>]
/git reset --hard|<file> [--path=<dir>]
/git commit --message="Your message" [--path=<dir>]
/git remote --add|--set-url|--remove --url=<url> [--path=<dir>]
/git push [--path=<dir>]
/git pull [--path=<dir>]
/git fetch [--path=<dir>]
/git login --username=<name> --token=<pat>
/git whoami
/git logout
/git help
You can control access to each Git command using permissions:
Code (Text):
gitcraft.command.add:
default: op
gitcraft.command.commit:
default: op
gitcraft.command.reset:
default: op
gitcraft.command.init:
default: op
gitcraft.command.remote:
default: op
gitcraft.command.status:
default: op
gitcraft.command.help:
default: op
gitcraft.command.push:
default: op
gitcraft.command.fetch:
default: op
gitcraft.command.pull:
default: op
gitcraft.command.login:
default: op
gitcraft.command.whoami:
default: op
gitcraft.command.logout:
default: op
default: op
gitcraft.command.commit:
default: op
gitcraft.command.reset:
default: op
gitcraft.command.init:
default: op
gitcraft.command.remote:
default: op
gitcraft.command.status:
default: op
gitcraft.command.help:
default: op
gitcraft.command.push:
default: op
gitcraft.command.fetch:
default: op
gitcraft.command.pull:
default: op
gitcraft.command.login:
default: op
gitcraft.command.whoami:
default: op
gitcraft.command.logout:
default: op
All permissions default to OPs only. Grant access explicitly for non-op users.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Git Craft | Use Git On Your MC Server is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 93 times (via Spigot). Download it and open it directly in the game.