Git HEAD and it’s importance

Git is a version control system that is widely used for software development and other version control tasks.

Git HEAD is like a pointer which points the Git engine to the active branch, which is the current branch you are 
currently working on for further operation. You can think of the HEAD as the current branch. You can switch branches with
‘’’ git checkout nameOfBranch ‘’’ where name of nameOfBranch is the name of branch you want to change to. The branch
“nameOfBranch” becomes the HEAD when you type ‘’’ git checkout nameOfBranch ‘’’ on the command line.

The importance of Git HEAD is that it points to the branch you are on.

Like what you read? Give omokehinde igbekoyi a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.