How To Keeping Track on the layout and core changes made for assured deployment

Hi Guys,

Is there any best practice to keep track of the changes made by the Discourse team in the core so that while making the deployment using Docker/ Taking the latest stable code from Git doesn’t break anything in functionality implemented/Overridden in the themes and plugins.