If I install a package from git using https://pip.pypa.io/en/stable/reference/pip_install/#git
does the specific commit that was checked out logged somewhere?
It is not. If you just want to know — lookup the commit at the head of the installed branch. If you want to install a specific commit — name the commit. For example: