After accidentally deleting a branch in your local repository, how can you recover it?

🎲 Try a Random Question  |  Total Questions in Quiz: 118  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Git Quiz — practice the complete quiz, review flashcards, or try a random question.

Git MCQs For LinkedIn Skill Assessments.


After accidentally deleting a branch in your local repository, how can you recover it?