Git 2.23 has been released and introduces two new experimental commands: git switch & git restore. Unfortunally at the moment the binary files for MacOs are unavailable. But you can compile the source code
git command that provides a formatted list of all of the commit given by a hash (SHA1), with no extraneous information.