I have not created local branch while making changes. I used master branch that gets created locally and made commit & sync changes after modifying few things.
Now, I see there are two branches that got created in remotes/origin, HEAD and master. Initially before doing this commit, I used to see only one i.e. master branch under remotes/origin. So, want to know ---
- what is HEAD branch for
- and whether I can delete it.
- And, was that created on the server as well.
HEAD is not a branch it is a reference or pointer to the most recent commit in the current branch.
Check out this post.