Customizing Individual GitHub Codespaces
Which of the following items can you customize for an individual Codespace? (Choose three.)
Community Insight
The question tests the distinction between global/repository configurations and local codespace preferences, specifically highlighting that editors and shells are customizable at the instance level.
This page explains how to customize an individual GitHub Codespace by setting its name, default editor, and shell. It clarifies that repository-level policies like branch protections are not per-codespace settings.
Learners often incorrectly select 'branch protections' (B) because they confuse repository-level security policies with the customizable environment of a single codespace instance.
Community Discussion (1 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
According to GitHub documentation, you can personalize your development environment for each session. You can assign a specific name (C) to identify the codespace, choose the default editor (D) such as VS Code Web or Desktop, and configure the shell (E) (e.g., bash, zsh, fish). These settings allow for a tailored experience per instance.Why the Other Options Are Wrong
Branch protections (B) are repository-level settings defined in the repository's Branch Protection Rules. They apply to all pushes and merges within the repository and cannot be customized on a per-codespace basis. The operating system (A) is determined by the Codespace template selected during creation; while you can change templates, you do not customize the OS kernel or distribution directly within the running codespace settings.Community Comment Notes
As Kiwi28 noted, the correct answers are C, D, and E. The community consensus confirms that naming, editor choice, and shell selection are the standard customization options available in the codespace UI and configuration files.Official Reference
Exam Strategy
Always distinguish between repository-wide policies (like protection rules) and instance-specific configurations (like editors or shells) when answering GitHub exam questions.
Frequently Asked Questions
Can I change the OS of a running Codespace?
No, the OS is defined by the Codespace template. You must create a new codespace with a different template to change the operating system.
Why is branch protection not customizable?
Branch protection is a repository-level policy applied to all users and instances. It cannot be overridden or set differently for a single codespace.