Comment Comment by anderskaseorg These days it might be better to teach new users about ‘git switch’ and ‘git restore’ (added in Git 2.23, released 2019-08-16) rather than the two overloaded meanings of the confusing ‘git checkout’ command.https://git-scm.com/docs/git-switchhttps://git-scm.com/docs/git-restore parent anderskaseorg 4 years ago
https://git-scm.com/docs/git-switch
https://git-scm.com/docs/git-restore