Git maintains a reference variable called HEAD all capital H-E-A-D, its purpose is to reference, or point to, a specific commit in the repository it normally it always point to a new commit of the current branch in our repository. Even if you switches between branches, HEAD will always point to the latest commit of that specific branch, So HEAD always points to the tip of the currently checked out branch from the repository.
0 Comment(s)