You'll see a big scary word in the Git world called HEAD. Branches are references to commits, and HEAD is a reference to the branch you're currently on. All this to say, in Grug speak:
HEADmean where me at now
For example, you should be on the main branch of your local clone of your fork of the official MegaCorp™ repo. Which means, HEAD is pointing to the main branch. Like all things in .git's internals, HEAD is just stored in a file.
cat .git/HEAD
Run and submit the CLI tests.
To delete a branch locally while in a different branch:
git branch -D branch_name