You can restore a Git commit from a deleted branch by using the reflog command to see the commit, and then cherry-pick (not the only option) to bring it to your current branch.

Read more
Subscribe to Git