Is it possible to export Grafana dashboards directly into a GitLab repository?

I would like to save the dashboards (by exporting them into a JSON file) and adding the files directly to a GitLab repository. Is there a possibility to link Grafana and GitLab? (GitLab being more of a destination rather than a source to Grafana)