I know that git branch
lists all local branches.
But is there a way to list also the branches that existed, but were deleted?
My usage for this is for naming purposes.
If a feature was implemented earlier on some branch and that branch after it deleted, when lot later working on the same functionality, want to reuse the same name of the branch.