Sometimes when I attempt to do a git pull from a branch, github will create the message:
"please enter a commit message to explain why this merge is necessary,
especially if it merges an updated upstream into a topic branch."
It will then require me to enter special commands like :wq to complete the merge. However, other times the merge will simply go through without issue or with it asking me to resolve conflicts.
I know this thread discusses how to exit the issue:
But my question is why does this happen in git to begin with?