Simple version control for everyone.
SGit is a lightweight command-line tool that makes saving, tracking, and recovering file changes easy to understand. It uses plain words like save, restore, and set aside instead of developer jargon, and it works on any folder, not just code projects.
Under the hood SGit runs standard Git, so your history stays compatible with every other Git tool.
- Start tracking any folder with one command
- Save versions with an optional message
- See what changed since your last save
- Go back to any older save without losing history
- Set changes aside and bring them back later
- Installs Git for you if it's missing
| Command | What it does |
|---|---|
sgit init |
Start tracking this folder |
sgit save [message] |
Save the current state of your files |
sgit status |
Show new, changed, and deleted files since your last save |
sgit history |
Show your past saves |
sgit restore <id> |
Go back to an older save (nothing is lost) |
sgit stash [message] |
Set your changes aside |
sgit stash back |
Bring set-aside changes back |
sgit stash list |
Show what's set aside |
sgit install |
Install Git on this computer |
sgit help |
Show help |
cd my-folder
sgit init
sgit save "first version"
# ...edit some files...
sgit status
sgit save "added intro"
sgit history
sgit restore <id>If you skip the message, SGit uses a timestamp. sgit save fixed login bug works too, no quotes needed.
restore never deletes your history. SGit first saves any unsaved changes, makes the folder match the older save exactly, then records that as a new save. You can always undo a restore by restoring again.
Requires the .NET SDK.
git clone [https://github.com/Arnost55/sgit.git](https://github.com/Arnost55/sgit.git)
cd sgit
dotnet build
dotnet run --project src/SGit -- helpSGit stores its settings, including the path to Git, in a YAML file that it creates on first run.
Early version (v0.1). SGit is an experimental learning project, so commands and behavior may change.
Licensed under the Apache License 2.0.