Git: undo deleted branch

Use git reflog to find the SHA1 of commit of the branch. From that point, you can recreate a branch using:

git branch branchName <sha1>

Sean Feldman