I’ve added Codespaces on a repository that had a Master branch, but that branch got deleted and I’m now using only the Main branch. Codespaces still opens the master branch, even though that branch is no longer available see: https://github.com/rajbos/azure-devops-marketplace-extension-news/branches
Seems like I have created the Codespace while the branch was still available. After deleting the Codespace and creating a new, uses the new branch.
Is it picking up the default branch or the branch you are currently in?