I'm looking for a git command (or set of commands) that can return the 'branching' commit from the merge commit.
For example, suppose I have the following tree:
A______B______C_______D________E________F
\_________G___________/
Given the merge commit E, the command should return B.