by ngruhn · 7mo ago · 0 comments
Because `checkout` is for getting the working directory to the state of a specific revision. Which both means switching branches (which are just pointer to revisions) and clearing changes (and get back to the starting revision). In both cases, you "check out" the version of the file at a specific commit or HEAD.
No, various other tools used it before git, e.g. openssl.