retrieve git log in changelog and toggle legacy changes