Git 2.23 Brings New Switch & Restore Sub-Commands

Written by Michael Larabel in Free Software on 17 August 2019 at 09:24 AM EDT. 26 Comments
Git 2.23 was released on Friday with more than 500 changes on top of the previous release.

Most notable for Git 2.23 are the new git switch and git restore sub-commands as experimental alternatives to git checkout. The new switch/restore sub-commands aim to separate the responsibilities of checking out into the changing of branches and the operations that change files.

More details on these new Git sub-commands along with other minor refinements for this distributed revision control system can be found via the GitHub blog for a lengthy write-up while there is also the mailing list announcement.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week