Get parent(s) of a commit