Oops! I accidentally deleted a local git branch, and I haven't pushed it to a remote server yet. The branch has several important commits, and it hasn't been merged with any other branches yet. How do I find the missing branch?
1. Create a list of all dangling or unreachable commits.
$ git fsck --full --no-reflogs --unreachable --lost-found <-- this doesn't create the
$ git fsck --lost-found unreachable tree 4a407b1b09e0d8a16be70aa1547332432a698e18 unreachable tree 5040d8cf08c78119e66b9a3f8c4b61a240229259 unreachable tree 60c0ce61b040f5e604850f747f525e88043dae12