Safely clean up merged or stale local Git branches and return the repository to a clear production-based state without deleting unmerged work.