add option to check history of unmigrated projects GitOrigin-RevId: c27a7b5227cb10603ae8e9d8136859a158caaf8a