Tracker update smartly resolves the head commit