Provide definition of Git Branch
Below are the some of the most simplest definition for term branch but i hope this will be clears you about what branch is and different branches with definition.
(1)First of all what is branch in Git we can say that branch is simply lightweight movable pointer to one of commits we do. And these branches are as a timeline with commits.
(2)Now comes to master branch, we can say that it is the main primary branch that we mostly work with. And default branch name in Git is master. Every time we commit the master branch pointer moves forward automatically.
(3)Now we learn What is HEAD in Git. HEAD is a pointer to the last commit on the current branch.
(4)Now comes to Remote it is simply refine or a pointer to a related repository which is not local. But it can be local network or enterprise network or somewhere out on the internet. Some of remote repositories would include GitHub,Gitlab and Bitbucket etc. | |