test sync after reset to FETCH_HEAD