What's supposed to be wrong with that?
If you just need to checkout the last branch you can also `git checkout -`
use it like
> git recent 2023-08-07: jimkubicek/add-journal-table-creator 2023-08-07: main 2023-07-28: backup/git-squash-to-main 2023-07-28: backup/cleanup
If you just need to checkout the last branch you can also `git checkout -`