restore deleted branch git

Shell
git checkout -b <branch> <sha>
Source

Also in Shell: