Under the repository name, use the Code drop-down menu, and in the Codespaces tab, click Create codespace on BRANCH.
If you don’t see this option, GitHub Codespaces isn't available for your project. See Access to GitHub Codespaces for more information.
You can customize your codespace by adjusting the amount of vCPUs and RAM, adding dotfiles to personalize your environment, or by modifying the tools and scripts installed.
GitHub Codespaces uses a file called
devcontainer.json to configure the development container that you use when you work in a codespace. Each repository can contain one or more
devcontainer.json files, to give you exactly the development environment you need to work on your code in a codespace. On launch, GitHub Codespaces uses a
devcontainer.json file, and any dependent files that make up the dev container configuration, to install tools and runtimes, and perform other setup tasks that the project requires. For more information, see "Introduction to dev containers."