Finds the root commit identifier for a given entity in an invitation. The root commit is the first commit the entity added to the invitation.
The invitation whose commits are searched.
The entity identifier to search for among the invitation commits.
The root commit identifier if the entity has a commit in the invitation, otherwise undefined.
Finds the root commit identifier for a given entity in an invitation. The root commit is the first commit the entity added to the invitation.