I have lots of test branches on my local machine and some old branches which were later merged and deleted from remote repository. How can I find the list of all such branches?
Note: I don't want to delete all of them without reviewing them once, so a fresh start is not an option for me.