While using GitHub Codespaces, you may want to export your changes to a branch without launching your codespace.
This can be useful when you have hit a spending limit or have a general issue accessing your codespace.
To export your changes:
Navigate to the "Your codespaces" page at github.com/codespaces. Or, for an individual repository, click the Code menu.
Click the ellipsis (...) to the right of the codespace you want to export from.
Select Export changes to branch.
From the popover, select Create branch.