We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Head

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:

HEAD mean 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.

Assignment

cat .git/HEAD

Run and submit the CLI tests.

Tip

To delete a branch locally while in a different branch:

git branch -D branch_name