Section 4: HEAD and commits