I am working with Databricks notebook and I synced it with GitHub. We are 2 members working on 2 different branches in Github repo. When we ran Azure Data Factory activity on that notebook, It ran the latest version of that notebook. 

So whats the purpose of having GitHub as version control since we can't have control over Notebook version while executing from outside.

What If many developers commit their changes but at the EOD we need master branch changes to be executed which are most stable one.