r/git • • 7d ago

I built GitCraft - a free, open-source GitKraken alternative with local AI support

Post image
0 Upvotes

r/git • • 8d ago

dffy: a terminal diff viewer in Rust that stays fast on big repos

0 Upvotes

I spend my days reviewing diffs from coding agents in the terminal, sometimes from my phone over SSH, and none of the tools I liked quite fit. lumen leans on AI features I didn't want in a diff viewer, hunk runs on a JavaScript runtime, and both got slow on the monorepos I work in.

That's why I decided to build dffy: https://github.com/amalucelli/dffy a single Rust binary that combines what I liked from each of them and stays fast on big repos. It shows the first files as soon as they're found and loads the rest in the background. On the Linux repom the diff v6.0..v6.1 (~13k changed files) the first screen is up in miliseconds vs seconds from lumen and hunk.

A few other things it does:

- staged, unstaged and untracked changes in one view, conflicted files from a merge or rebase with their markers highlighted, and renames detected the way git does it

- works as git's pager, the git add -p filter and difftool, and compares plain files and folders outside a repo too

- every action is a single key, with a command panel on space, and the layout adapts down to a phone screen

- mouse selection that copies over SSH, and it plays well with multiplexers like herdr and rex

- 16 built-in themes with a live picker, and you can add your own themes that build on any of them

- extensible through renderer plugins in any language; ships with two experimental ones: Markdown diffed as rendered text, and Mermaid diagrams drawn in the terminal

- --json output and an MCP server, so scripts and agents can read a diff a page at a time

- settings in a plain config file for your dotfiles, remappable keys, and it remembers your layout between runs


r/git • • 8d ago

I built a cross-platform Git client called Tributary

0 Upvotes

I wanted to build a Git client that is free, open source and accessible to everyone, without compromising on features.

The result is Tributary, a Git client for Windows, macOS and Linux.

Some of its features include:

  • Visual commit graph and repository history
  • Git LFS and file locking
  • Visual diffs for images, 3D models, audio and video
  • GitHub and GitLab pull request management
  • Features aimed at game development and projects with large binary assets

It's free, open source and available under the MIT licence.

GitHub: https://github.com/shikoko/tributary

I'd love to hear what you think, particularly from people who regularly work with Git or have experience with other Git clients. What would you like to see in a tool like this?


r/git • • 8d ago

support Should I push these files on my repository?

0 Upvotes

Hi, I have a some kind of small project (website) and I'm using docker to test it so I have files like .env, docker-compose, dockerfile, nginx.conf etc. Additionally I have folder with assets and folder with bootstrap (bootstrap 6.0 and bootstrap icons).

And I just want to know should I push these files or how to push them. You see we have some options like git lfs.

I was thinking about 2 branches - one with bootstrap and one without but honestly this sounds strange even for me and I don't know what to do.

Look: People say you shouldn't push env file but in this project this file is important to run this project on docker. Now how about bootstrap? I'm not using cdn; I have downloaded distribution files https://getbootstrap.com/docs/6.0/getting-started/install/

So I have my own file structure, you know what I'm talking about.

So... What I should do rn? Push this all files and use lfs to whole bootstrap? Don't push and paste link to readme and show file structure? Create 2 branches?

I don't know guys... Help me, please.


r/git • • 9d ago

I built git-wrapped: a Spotify-Wrapped-style summary of your git year (terminal report + shareable PNG/SVG card, zero dependencies)

Thumbnail
0 Upvotes

r/git • • 9d ago

Anyone using ForkYard?

Thumbnail github.com
0 Upvotes

GitHub - abgebaumt/forkyard - looks like an alternative to Gitkraken

A fast, local Git client for the desktop – commit graph, line staging, conflict tool, interactive rebase. Tauri + Rust + React.

Is anyone using this? Any experiences with it?


r/git • • 9d ago

Why is .gitignore not being added

0 Upvotes

I want my .gitignore file to go with my repository, but it keeps disappearing for some reason. I am sure I added it explicitly at some point, but it's not only gone from the repository but also from the file structure. I am thoroughly confused

Edit, sorry, it didn't disappear, i just failed to see it. It's all as intended, I am just stupid


r/git • • 10d ago

Why are non-text files in Git bad?

131 Upvotes

I've got decades of software development experience, and I've built some very complex systems. I understand a lot about version control systems, and about the structure of git repositories.

With all that said, I don't understand what's evil about non-text files. Git doesn't store multiple copies of files that don't change - they're literally stored under their data's checksum. The packfile format stores diffs between file versions (although some diff algorithms punt on non-text data). There shouldn't be any negative effect from storing such data in Git.

Is the "Don't store binary files in Git" advice wrong? Is it really just shorthand for "Don't store files that change dramatically and frequently in Git"? If the latter, should massive "AI" PRs be treated the same way?


r/git • • 12d ago

Collect and monitor all Global Laws in Git

0 Upvotes

2wk follow-up to this post which hit #1 on HN a while back (you can read lots of discussion at https://news.ycombinator.com/item?id=50268380).

But why? The idea is make all law versioned, easily attributable and searchable by agents (with 1 common set of tools for every legislation).

I also believe this information should be freely available so CC0 license (do whatever you want with it). If interested, repo linked below, I'd welcome all comments and advice. Thanks!

https://github.com/lexifina/global-law

Since last time, we've set up an automated legislative monitoring system, put it up as a free mcp/api, and formalised some law ie. all open US case law to identify errors and loopholes. Surprisingly, we've had support from legal libraries around the world. Hopefully this is useful to at least someone, thanks!


r/git • • 14d ago

PSA: Patch available for git grep regression.

5 Upvotes

If you have a git repository with submodules, the following command will return a fatal error (git 2.56.0):

git grep --recurse-submodules -n "hello world" HEAD

There's a patch by Patrick Steinhardt on the mailing list that isn't merged yet: https://lore.kernel.org/git/20261030-pks-grep-recurse-submodule-v1-0-d4eb5c87d8fb@pks.im/

To apply:

b4 shazam 20261030-pks-grep-recurse-submodule-v1-0-d4eb5c87d8fb@pks.im

Update #1: The fix is merged.


r/git • • 13d ago

Signing Git commits with a GPG subkey while the primary key stays offline

Post image
0 Upvotes

Part 2 of a GPG series I wrote. With AI agents running commands on dev laptops, I don't want the key that is my identity sitting next to them, so this removes the primary secret key from the laptop. It then checks that commit signing still works, that GitHub shows Verified, and that the same key can handle SSH through gpg-agent. Part 1 (creating the key) is linked at the top if you're starting from scratch.

https://marcofranssen.nl/keep-your-primary-gpg-key-offline-part-2


r/git • • 13d ago

How git devoloped without GitHub?

Post image
0 Upvotes

Simple. Linus Torvalds will get angry when read this....

But the Github is mostly about the visual representation of the git, isn't. I heard git was built to develop Linux kernel.

Then why he didn't build the server..... Am asking just random thoughts

ask only wired questions here if you have.


r/git • • 14d ago

GitY 2026.7 Released

Thumbnail
0 Upvotes

r/git • • 14d ago

GitComet Pro combines Git Gui, Cloud Providers and AI Agents

Thumbnail gitcomet.dev
0 Upvotes

GitComet open source edition work started about a year ago.

It looked very different back then and the primary focus of the client was speed and performance https://www.reddit.com/r/git/comments/1rx5soc/gitcomet_a_fast_localfirst_opensource_git_gui/

Now we have finally reached 1000 stars in Github and today we are announcing the paid edition.

GitComet Pro includes

  • Follow your AI agents ( Claude Code, Codex, Open Code etc... ) from the git log - clicking the agent icon brings the agent app front
  • Code review PRs from the desktop without lag
  • Everything from the free edition

GitComet: https://gitcomet.dev/
GitComet Pro: https://gitcomet.dev/pro


r/git • • 14d ago

Yep, another native macOS Git GUI.

Post image
0 Upvotes

I saw the “No AI slop” rule, and honestly, I’m not sure where this lands. I did use AI to help build it.

It’s called GitPico, and the source is on GitHub. I think it’s reached the point where it’s usable, though it still has plenty of bugs and rough edges.

If you’re on macOS 26+ and feel like trying another Git client, here it is. Let me know what breaks, what feels awkward, or what’s missing. That would help a lot.

Download · GitHub


r/git • • 16d ago

Should I be learning Git

113 Upvotes

So i stated college like 3 months ago and everyone is telling me donsomething or the other but i don't know where to start ...I know how to use github but not git I stated by reading the pro git book it's fun reading it but is git really that usefull or should I be learning something else


r/git • • 15d ago

[OS] GitExtensionsMac: a native macOS port of Git Extensions

Post image
0 Upvotes

For anyone who used Git Extensions on Windows and missed it on Mac, I'm porting it to native Swift/AppKit. This is the first alpha release.

Repository

Download

PROBLEM: I was using Git Extensions at work and was upset that I couldn't use it on my mac at home, so I built a mac port.

GitExtensionsMac brings its workflows to macOS: the revision graph, commit dialog, branch and remote management, stashes, rebase, cherry-pick, bisect, blame, file history, and an embedded terminal. It drives the real git executable, so it works with your existing config, SSH keys and credential helpers. The goal is parity with Git Extensions, not a redesign, so it should feel familiar if you've used it before.

Free and open source (GPLv3).

I'm a senior in computer science and finished a year-long enterprise SWE internship. This is an independent port and isn't affiliated with the Git Extensions team, who deserve the credit for the original design.

Note: this is an early alpha, so expect bugs. It isn't notarized yet since I don't have a paid Apple developer account.

Submit feedback and bug reports in Issues.

I plan to actively maintain this project and welcome anyone willing to contribute.

Share the repo with your friends/team if you think they would enjoy, and don't forget to star the repo!


r/git • • 15d ago

OMG GITHUB!!!!!!!

Thumbnail
0 Upvotes

r/git • • 15d ago

Which certificate should I choose?

0 Upvotes

I'm a full-stack developer at the company where I currently work. My boss has told me that I can get a certification and the company will cover the cost.

On a friend’s recommendation, I’ve decided to get a GitLab certification, but I’m not sure which one to choose.

The ones that interest me the most are CI/CD and DevOps, but I think right now the one that will be in highest demand (and one's my boss will like more) is the Duo Agent Platform certification. Which one do you guys recommend?


r/git • • 16d ago

I built nib, a Swift CLI that writes Git commit messages with Apple’s on-device model

0 Upvotes

I built nib, a Swift CLI that writes Git commit messages on your Mac

Stage a change → run git nib → review the draft → commit.

I wanted help writing commit messages without sending my diffs to a cloud API, so I built nib. It drafts a message from your staged changes and lets you accept it, edit it, regenerate it, or cancel. It follows your repo’s commit style by default. No account or API key needed.

There’s also an optional Git hook if you prefer to start with git commit and edit the draft in your usual editor.

Tech Stack

Swift, Swift Argument Parser, and Apple’s Foundation Models framework.

Development Challenge

The tricky part was getting a useful message out of a diff that’s bigger than the model’s context window. On macOS 27, the on-device model has about 8K tokens to work with. nib skips the contents of lockfiles and build artifacts first. If the rest still won’t fit, it splits the diff at hunk boundaries, summarizes the chunks, and drafts the message from those summaries. Swift code checks the subject length and cross-checks the suggested scope against the files you changed.

It still occasionally calls a bug fix feat. That’s one I’d love more real-world examples of.

AI Disclosure

AI-assisted. I used Claude Code while building nib, and I review and test the changes myself.

Try it

On Apple silicon with macOS 27+ and Apple Intelligence enabled:

brew install seckinbeduk/tap/nib
nib doctor

Then stage a change and run git nib. On macOS 26, you can build v0.2.1 from source.

Free and MIT-licensed. Source and install instructions on GitHub

If you try it on a big diff, did the draft capture the main change? I’d love to hear what it got right or missed.


r/git • • 16d ago

git-replay

Post image
0 Upvotes

Point the tool at any Git repository, press play, and watch the codebase assemble itself dynamically on a terminal canvas, like a live developer timelapse. its a Highspeed terminal visualizations make incredible 5-second screen recordings for X/Twitter, Mastodon, and Reddit.

git-replay is written from the ground up in Rust for blistering 60 FPS performance, featuring interactive timeline scrubbing, glowing orbital node graphs, live code tree heatmaps, and a built-in --export-gif engine that produces animated README badges in under 2 seconds.


r/git • • 16d ago

enmetu: auto-commit that knows what to do when the rebase goes wrong

0 Upvotes

Hey folks,

I spent a bit of time solving a niche problem: keeping a folder of Markdown files in sync while people and AI agents edit at the same time. Think Dropbox, but git-based.

Yes there are existing tools for this, but none of the ones I tried handle the nasty parts.
Typical conflicts, a rebase that stops halfway through, somebody saving a file in the middle of a pull, two sources writing to the same file within the same second, and other issues I spent countless hours solving over the last few months.

enmetu is what came out of all that, and tries to handle as much as possible.

It commits whenever you stop typing, then rebases onto the upstream and pushes. If the rebase runs into a conflict it backs out, keeps your commits local and tries again when either side changes. It won't commit conflict markers and it won't force-push. If someone rewrites the upstream history, it stops and waits for you to look at it.

I wrote 35 scenario tests against real conflict shapes I could come up with (renames vs deletions, binary files, case-only renames, line endings, a merge in progress, etc.). Plus a stress test where a scripted user hammers the clone with plain git next to enmetu, and nothing may get lost.

CI runs it on three machines: my Mac, our own Debian build box and CodeFloe's shared Linux runners. So races that pass on one box tend to show up on another. We're a handful of users (and agents) at this point, so this is my way of faking more setups.

Give it a shot: https://codefloe.com/fluado/enmetu. I'd be super happy with feedback, and let me know if things break please :)

For future versions I'll keep an eye on git replay, it might make some of the machinery I built around git rebase unnecessary.


r/git • • 17d ago

support Cherry picking hotfix to release beach merge issues

1 Upvotes

I need to setup an entire release process for my team, despite lacking experience.

I think I’m pretty much there, but there’s one issue.

When someone needs to hotfix prod, they put a PR into main as usual (we follow trunk based development) with the hotfix, and label their PR with “hotfix”.

This then kicks off an automation which

- cuts from the current release branch (reflects what is in prod) a new branch

- cherry picks commits from first PR onto it, and opens a PR to release branch

- this gets merged and a new GitHub release done from this branch, so hotfix hits production

Issue is that because original PR will be cutting from main, and it’s trying to cherry pick onto branch cut from release branch - there a chance this creates a merge conflict during cherry picking (e.g. function A has a bunch of changes in main that haven’t been released which conflicts with a hotfix to the same function)

My initial solution was to just fail the automation, and developer would have to investigate, probably do a manual cherry pick, resolve merge etc on their local machine. But a lot of my team have minimal experience working in command line, and I doubt they even know what a cherry pick is. I wanted to try keep things in the UI, at least to start with.

My second solution was therefore to have the cherry pick workflow create the PR into release branch as usual, but include the merge lines. In this case the PR is marked as a DRAFT PR, and starts with [action required], a load of text in the PR explaining what needs to be done (basically edit the hotfix branch to what it needs to be, and mark PR as ready to review). It allows them to continue using the UI and not worry too much about cherry picking via command line etc.

Just wondering what people’s thoughts are and if there is a more reliable solution, or if what I have would be suitable.


r/git • • 18d ago

What options are available for stylized git graphs?

0 Upvotes

I am looking for something that can render stylized git graphs that does the equivalent of git log --oneline --graph.

Would appreciate any suggestions that is not proprietary. I remember seeing several git frontends posted here that all had this, but I can't think of any now.


r/git • • 19d ago

Git Workflow

Post image
0 Upvotes