I meant to git branch -d reduce-4 to delete a local repo branch. I accidentally entered git checkout -d reduce-4 and it said (HEAD detached at refs/heads/reduce-4).
I used git checkout -d main to switch HEAD back to main, (I would assume). It doesn't appear that anything broke, but is there anything that changed in the background or anything like that, that I need to be aware of or switch?
And what is the process to undo a process in Git?