Whose Error Is It?
Git printed this
You are in 'detached HEAD' state.
What it meansHEAD points directly at a commit rather than at a branch, so new commits you make will not belong to any branch by default.
The first thing to checkThis happens after checking out a tag or commit hash; run git switch -c new-branch to keep your work, or git switch main to return to a branch.
The walrus saysYour head is detached. This is fine.