Topic

Git

Follow Git version control, branching strategies, and collaborative workflows. Our digest aggregates merge conflicts, monorepo tools, and GitOps patterns from developer communities.

What this topic tracks

  • Developer tool releases and ecosystem updates
  • Workflow automation and productivity practices
  • Practical setup, debugging, and integration lessons

Git · 166 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

I imported the full Linux kernel git history into pgit

oseifert.ch · 5 Apr

Git · PostgreSQL · SQL

The author successfully imported the entire 20-year history of the Linux kernel into pgit, storing 1.4 million commits in a PostgreSQL database using delta compression.

This setup enables rapid, complex SQL querying of the entire history, revealing deep technical insights, development trends, and contributor patterns that would be labor-intensive to produce using standard Git tools.

🦄 Sharing DEV Followers Count on Github Profile 🦄

dev.to · 23 Sept

CI/CD · Git · GitHub

The author shares a working GitHub Actions workflow and Node.js script that retrieves a DEV.to follower count through the DEV.to API, updates a marked section in README.md, and commits changes automatically.

The workflow runs daily or manually, uses a DEVTO_API_KEY secret, requires write permissions, and includes error handling for API failures and invalid responses.

Show HN: Git-knife – edit commit messages, authors, and dates like a spreadsheet

github.com · 10 Aug

DevOps · Git · Productivity

git-knife is a GUI tool that allows precise editing of git commit metadata, including messages, author details, and timestamps.

Unlike standard GUIs, it enables bulk regex-based updates while ensuring safety via file-tree preservation, automatic backups, and clear warnings when modifying pushed history, filling a significant gap in the current git tooling ecosystem.

Improved Git Diffs with Delta, Fzf and a Little Shell Scripting

nickjanetakis.com · 24 Mar

Git · Shell · TUI

Enhance your Git workflow using Delta for high-quality syntax-highlighted diffs.

By integrating Delta with fzf and custom shell scripting, you can create a powerful TUI for viewing git diff, git show, and git blame. This setup, managed via dotfiles, significantly improves code review efficiency and provides a superior visual experience.

HardenedBSD Is Now Officially on Radicle

hardenedbsd.org · 26 Apr

Blockchain · Git · Open Source

HardenedBSD has begun migrating its code repositories to Radicle, a decentralized code collaboration platform.

While core functionality is operational, including basic ports tree integration, the project is still addressing performance tuning for large repositories. Users can now seed and clone official HardenedBSD repositories from their dedicated node infrastructure.

The Fedora 45 Sausage Factory

supakeen.com · 23 Jul

CI/CD · Git · Linux

This walkthrough details the Fedora 45 release process, explaining how source code becomes installable artifacts.

It follows the journey from git repository commits and Koji builds through Bodhi gating and Pungi orchestration. Key tools like Kiwi, Image Builder, and rpm-ostree are highlighted, demonstrating how Fedora automates the production of ISOs, cloud images, and OSTree deployments.

Replacing Pull Requests with Delta

zed.dev · 16 Sept

Git · GitHub · AI Agents

Delta launches its public beta as a multiplayer environment where developers collaborate with AI agents through shared threads and worktrees instead of pull requests.

Built on DeltaDB, it preserves incremental changes and agent context while remaining Git-compatible. Available on macOS, Linux, Windows, web, and mobile browser, Delta targets “continuous engineering” and may eventually replace parts of GitHub.

Sort branches by last commit date

ryangreenberg.com · 25 Aug

Git · Shell · Terminal

Modern Git can sort branches by their latest commit without custom scripts.

Set `branch.sort` to `committerdate` or use `git branch --sort committerdate`. Git also supports sorting by fields such as `authordate`, `creatordate`, `taggerdate`, message size, `refname`, and `upstream`, using keys from `git-for-each-ref`.

Git Gud!

dev.to · 17 Aug

CLI · Git · GitHub

This beginner-friendly guide helps GitHub Desktop users transition to Git CLI.

It explains a practical workflow—git init or git clone, git add and git restore, git commit, git fetch/pull/push, branch creation and switching, and git status—using Hollow Knight: Silksong analogies. It emphasizes meaningful commit messages and encourages consulting official documentation.

How to build a `Git diff` driver

jvt.me · 11 Apr

Git · Programming Languages · Shell

This guide explains how to create external git diff drivers to compare files using custom tools.

It details the seven arguments passed by git diff to external scripts, highlighting how to handle file creation, deletion, and updates, and demonstrates a practical implementation for comparing OpenAPI specifications using oasdiff.

Nvim-treesitter (13K+ Stars) is Archived

github.com · 2 Apr

Git · Business · Open Source

Users are expressing frustration regarding the absence of stable software releases for the plugin.

Reliance on continuous updates instead of versioned tags creates dependency issues for package managers like Arch and hinders consistent integration, prompting concerns about the maintainer's current release strategy and workflow.

Migrating from GNU Stow to Chezmoi

rednafi.com · 18 Jun

Git · macOS · Shell

The author transitioned from GNU stow to chezmoi to better manage dotfiles across multiple macOS devices.

Unlike the symlink-based approach of stow, chezmoi uses a source-of-truth repository and provides features for templating, script execution, and seamless cross-machine syncing. This setup also integrates Homebrew and agent skills, ensuring consistent environments on all machines.

If I could make my own GitHub

matduggan.com · 30 Apr

Git · GitHub · Software Architecture

The author critiques the current state of software forges like GitHub, arguing they have drifted from their Git origins.

A proposed 'dream forge' would feature improved pre-commit feedback, nuanced PR approvals, support for stacked PRs, modular hosting, and deeper local integration, prioritizing developer experience over bloated, monolithic feature sets.

Git security vulnerabilities announced

github.blog · 10 Nov

CLI · Cybersecurity · Git

Git released security updates fixing six vulnerabilities involving arbitrary code execution during recursive clones, path traversal, stack and heap corruption, out-of-bounds reads, and unsafe filesystem access through fast-import streams.

Fixes are in Git 2.56.1 and backports from 2.55.1 through 2.50.2. Git now validates paths and protocol references, checks sizes and arithmetic, and restricts unsafe features. GitHub deployed fixes across its services and recommends updating Git, bundled applications, automation, and hosting systems promptly.

The Pulse: Anthropic builds its own source control system

blog.pragmaticengineer.com · 22 Oct

Git · Software Architecture · Anthropic

Anthropic built Scion, a proprietary source-control system, after AI agents drove monorepo activity from about 2,500 to over 30,000 daily merges, exposing Git’s checkout and horizontal-scaling limits at its always-online, 25GB monorepo.

Scion uses Rust services, Google Spanner for changesets, and Cloud Storage for blobs; Antique replaces GitHub’s review tooling. Seven engineers maintain it, and Anthropic migrated its monorepo completely. Mononoke’s creator later accused Anthropic of copying its open-source design, prompting attribution.

Maiao: Gerrit-style code review workflow for GitHub, GitLab, Gitea, others

github.com · 25 Aug

CLI · Git · GitHub

Maiao is a community fork of the unmaintained adevinta/maiao, offering a Gerrit-style code review workflow across GitHub, GitLab, Gitea, Forgejo, Bitbucket Cloud, and Cursor Origin.

Its git review CLI creates stacked PRs/MRs per commit, tracks Change-IDs, supports fixups, detects providers, integrates native stacks, and automatically rebases stacks after merges. It is free and open source.

Zig Zen Update

codeberg.org · 6 Jun

Git · Programming Languages · Software Architecture

This document outlines specific technical configurations and behaviors for Git commands, including repository management, object handling, diff output customization via gitdiffcore, and maintenance settings like commit-graph.

It covers advanced command switches such as --indent-heuristic, --keep, and --allow-empty, addressing nuances in repository updates and refspec operations for optimized version control performance.

Show HN: Deff – Side-by-side Git diff review in your terminal

github.com · 25 Feb

Git · Rust · TUI

deff is a Rust-based TUI designed for interactive, side-by-side git diff reviews.

It features Vim-like navigation, syntax highlighting, and per-file reviewed toggles. Supporting both committed and untracked changes, it offers flexible comparison strategies and local state persistence, making it a high-performance terminal tool for developers managing version control workflows.

Chesterton's middle finger

arp242.net · 22 Jun

Career · Git · Productivity

Poor documentation and commit logs hinder maintainability, creating a situation where developers cannot understand the rationale behind existing code.

The author argues that documenting changes—explaining what, why, and how—is an essential part of software development. Neglecting this practice negatively impacts future developers, effectively showing them disrespect regarding the codebase's history and intent.

Where it came fromHacker NewsDev.toGitHub Security LabThe Pragmatic EngineerLobstersCreate a Snapbyte.dev digest and choose Git as one of your topics.Build your digest