you can git cherry-pick bada553d
if it’s just the one commit.
You can also reference anywhere you’ve been by using the reflog:
git reflog
then use one of those commits:
git checkout -b temp HEAD@{3}
to checkout and make a branch temp from where your current commit was 3 “times” ago. It’s a bread crumb of where you used to be.