Tracker update smartly resolve the head commit