Git update offers devs monumental speed boost

Glasses in front of computer screen
(Image credit: Kevin Ku / Pexels)

The new release of the popular open source version control system, Git, enables developers to experience a new merge scheme, which could become default by the time the next version rolls out.

Git was originally developed by Linus Torvalds, popularly known as the developer and principle maintainer of the Linux kernel. Git v2.33 brings with it 449 new changes, though a majority of them are backend improvements.

“As can be seen here, it turns out that this release does not have many end-user facing changes and new features, but a lot of fixes and internal improvements went into the codebase during this cycle,” wrote Git’s core maintainer, Junio C Hamano, in the release announcement.

However, Hamano points out that the highlight of the release is the work on the new merge strategy backend, known as merge-ort.

New merge scheme

Git's strategy backend kicks in every time the tool performs a merge between two code branches. Git’s original strategy was called resolve, but was soon replaced by merge-recursive.

Explaining the need for a new merge scheme, Taylor Blau, Senior Software Engineer, Git at GitHub writes that while merge-recursive did a stellar job, it suffered a number of shortcomings. Originally written in Python, before a rewrite in C, it wasn’t particularly snappy and generally “harder to optimize.”

“The merge-ort strategy is a from-scratch rewrite with the same concepts (recursion and rename-detection), but solving many of the long-standing correctness and performance problems. The result is much faster,” writes Blau, suggesting that in certain use cases the new merge scheme reported speed gains of over 9000x.

In the release announcement, Hamano points out that developers can test the new backend in the current release with the git merge -sort command.

Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Read more
Shadowed hands on a digital background reaching for a login prompt.
This worrying Git flaw could lead to users leaking credentials
A laptop screen showing a ChatGPT coding panel
The ChatGPT Mac app just got a massive coding upgrade – and it’s coming to Windows soon
Representational image depecting cybersecurity protection
GitLab has patched a host of worrying security issues
GIMP on a laptop
After two decades, GIMP 3.0 has arrived with high-resolution compatibility and extensive improvements
GIMP 3.0 interface from the website
Our favorite free photo editor finally got the update it deserves - and these are the top 5 features designers should know about
ExpressVPN's new Linux app interface
ExpressVPN releases a major upgrade to its Linux app
Latest in Pro
cybersecurity
What's the right type of web hosting for me?
Security padlock and circuit board to protect data
Trust in digital services around the world sees a massive drop as security worries continue
Hacker silhouette working on a laptop with North Korean flag on the background
North Korea unveils new military unit targeting AI attacks
An image of network security icons for a network encircling a digital blue earth.
US government warns agencies to make sure their backups are safe from NAKIVO security issue
Laptop computer displaying logo of WordPress, a free and open-source content management system (CMS)
This top WordPress plugin could be hiding a worrying security flaw, so be on your guard
construction
Building in the digital age: why construction’s future depends on scaling jobsite intelligence
Latest in News
Ray-Ban Meta Smart Glasses
Samsung's rumored smart specs may be launching before the end of 2025
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Quordle on a smartphone held in a hand
Quordle hints and answers for Monday, March 24 (game #1155)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Monday, March 24 (game #386)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Monday, March 24 (game #652)
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)