Undoing Changes and Time Travelling in Git
Checkout
The git checkout command is like a Git Swiss Army knife. Many developers think it is overloaded, which is what lead to the addition of the git switch and git restore commands
We can use checkout to create branches, switch to new branches, ...
mustafahashmani.hashnode.dev5 min read