What’s the difference between git switch and git checkout

Well, according to the documentation you link to, its sole purpose is to split and clarify the two different uses of git checkout: git switch can now be used to change branches, as git checkout <branchname> does git restore can be used to reset files to certain revisions, as git checkout –<path_to_file> does People are confused by these different ways to use git … Read more