Setting up Git for Drupal

Body

In order to use Git with the Drupal project, you will need to complete the following steps:

  1. Install Git -- see the Git Downloads page, and documentation on installing Git
  2. Optionally, install a Git GUI tool and/or the drupalorg-cli command-line tool.
  3. Configure Git and/or the Git GUI tool you choose
  4. If you will commit to a project hosted on drupal.org (including forks and merge requests) -- see Related Content section:
    • Obtain Git access by agreeing to the Drupal Git user agreement
    • Authenticate to Git with SSH keys
 

Configuring Git for Drupal

How to configure Git to work with Drupal

Obtaining Git access

How to set up your drupal.org account for Git access

Drupal Git usage policies

Guidelines and policies for Git usage on Drupal

Knowledge Category