Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Git Field

No security coverage Under active development

Keep track of the Drupal sites you look after in one place: add each site's GitHub or GitLab repository, and see its Drupal and PHP versions and security alerts on a dashboard.

Git Field adds a field for a Git repository on GitHub or GitLab, including GitHub Enterprise and self-managed GitLab, and formatters that show data about the repository from its host: a value from a file in it, the version of a Composer package it uses, and, on GitHub, its open Dependabot alerts and its Actions variables or secrets. The included site dashboard recipe sets up the dashboard.

Features

  • A Repository widget where editors type owner/name, or just the name, for repositories on a set host.
  • Formatters for a link to the repository, a value from a JSON or YAML file, a Composer package's version, and, on GitHub, open Dependabot alerts and Actions variables or secrets.
  • A site dashboard recipe with a Site content type and a report of each site's PHP requirement, Drupal core version and open alerts.

Post-Installation

  1. Public repositories on github.com and gitlab.com work without any setup. For other hosts, private repositories, and GitHub's Dependabot alerts and Actions variables, add a read-only token for the host as a "Git host token" key at Configuration > System > Keys (/admin/config/system/keys). See Hosts and tokens.
  2. Add a "Git repository" field to a content type or other entity type. Values are saved as the repository's URL, such as https://github.com/drupal/drupal.
  3. Choose one of the formatters for the field in a display or a View.

Additional Requirements

This module requires the Key module, which stores the tokens for each host.

Similar projects

Site Guardian, Vitals, Warden and Status Dashboard report each site's Drupal version, modules and available updates from the running site, to a dashboard on another site or service. Each monitored site runs one of their modules.

Git Field reads the sites' code repositories instead, so the sites need nothing installed, and sites that aren't deployed yet can be listed too. It shows what's committed to the repository, which may differ from what a site runs.

Ask your assistant about Git Field

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2026
Latest release
1 hour ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 10–11 Dec 1, 2026