-

GIT – What Is GIT Head ?
What Is GIT Head? Table Of Contents: What Is GIT Head ? How To Use GIT Head ? What Is Detached Head ? (1) What Is GIT Head? In Git, HEAD is like a pointer that tells you where you currently are in your project’s history. It usually points to the latest commit in the branch you are working on. Think of HEAD as a bookmark that Git uses to track your current position in the repository. The ‘HEAD’ can be understood as the “current branch.” When you switch branches with ‘checkout,’ the ‘HEAD’ is transferred to the new branch.
