I'm trying to add databricks jobs to a git repo. I see you're able to run notebooks from a git repo in a job but I don't know if it's possible for the job itself to be added to a git repo.
It's still not possible to "natively" save job definition into Git, but it could be done different ways:
databricks_job
resource (doc). The biggest advantage of using it is that it allows to handle dependencies to other resources, like, existing clusters, DLT pipelines, etc. But it requires familiarity with Terraform. You can also export existing job(s) with dependencies using the Terraform Exporter functionality (doc) using -match
option to export selected job(s).