The branch was wrong. The deadline was close. You typed git checkout radius and hoped the change would stick.
In Git, checkout is the command that moves between branches or restores files. When you run git checkout radius, you are telling Git to switch your working directory to a branch named radius. This pulls in the commit history, file versions, and staging area tied to that branch. If the branch doesn’t exist locally, Git will check if a remote branch named radius is available, and you can create a local tracking branch with:
git checkout -b radius origin/radius
Understanding git checkout radius means knowing exactly what happens to your workspace, your index, and how you can avoid conflicts. When you switch to radius, Git updates all tracked files to match the target branch. Any uncommitted changes remain if they do not conflict. If there’s a conflict, Git will block the checkout until you resolve or stash changes.
For safer branch switching, stash work in progress with: