Agentic demo automation is here.
Meet Lily
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free

How to Restore Deleted Branch in Github

‍

‍

To restore a deleted branch in GitHub, follow these steps:

‍

  1. Go to the GitHub repository if you want to restore a deleted branch.
  2. If the branch was deleted after a pull request was merged, go to the 'Pull requests' tab in your repository.
  3. Locate the closed pull request that used the deleted branch.
  4. You should see a 'Restore branch' button near the bottom of the pull request. Click this button to restore the branch.
  5. The history and contents of the restored branch will remain intact if done soon after deletion.
Similar Articles

How to Play GitHub Games

How to Manually Trigger GitHub Action

How to Set up GitHub Actions

Build Killer Demos in 2 Minutes
Build Killer Demos in 2 Minutes
Build Killer Demos in 2 Minutes
Build Killer Demos in 2 Minutes
Build Killer Demos in 2 Minutes
Build Killer Demos in 2 Minutes
Build Killer Demos in 2 Minutes
Chrome Extension Icon
Try our Chrome extension
DOWNLOAD

Desktop app for macOS
DOWNLOAD
Backed by
Y combinator
AICPA SOC
GDPR
Products
Guided DemosSandbox DemosDemo Hub
Featured
Account RevealPersonalizationIntegrations
Solutions
EnterpriseGrowth & Demand
MarketingProduct MarketingSalesPresales
Resources
BlogTutorialsHelp DocsWhat’s NewDemo DundiesPlaybooks
Company
CareersPricingPartnersContactTrust CenterDemo Abuse
Customers
Demo ShowcaseCase Studies
Built in San Francisco Bay Area - ©2025 Storylane
Backed by
Y combinator
AICPA SOC
GDPR
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it