Where does Python "import" statement in a Notebook search (on Azure) for libraries?

Newyn
Databricks Partner

I know that import can find installed cluster libraries, workspace libraries etc. as well as how to create wheel libraries externally and upload them.

However, in a project I came across the feature that import was able to find the folder in, if I remember correctly, a git repository. Essentially, I could import the Python library from the folder without installing it as a, for example, wheel library.

I have tried to find information about this feature in the documentation. However, it is a bit hard to find, partly because "import" has a lot of different denotations in he Databricks environment.

So, apart from installed libraries, where does Python import statement in a notebook look for libraries?