While I fully … ahem… switched to git switch years ago, I had no idea git restore existed.