Can we connect to Databricks notebooks?

I have some notebooks in Databricks, where my SQL is staying. So I am wondering can we connect to these notebooks, so that when I change some SQL, my workflow can also sync with this changes.