From what I understand, git checkout changes the state of the files in the current directory to what was at a specific point in the tree. Therefore, it can be used to switch branches or to visit a previous commit.
Why is the name checkout chosen for this operation?
Is the analogy "I'm going to test this"?
Is it checking books from the library?
I do not ask whether this is a good idea or not, or trying to judge it myself - I just wonder what the historical origin of the name is.
git
Eli rose
source share