Select first staged item if there is no unstaged item.