Topic

Git

Git is the most popular version control system in the Drupal community. All of the core and contributed code development happens in Git repositories. It is also a popularly supported choice among the major hosting providers. Learning how to use Git will make it easier to collaborate with the Drupal community, and help you manage your own development process.

Example tasks

  • Interact with Drupal core and contributed code in order to participate in the development process.
  • Use version control on personal projects to ensure work isn't unintentionally lost

Confidence

While improvements are made to the Git software on a regular basis, the basic commands you need to know in order to interact with the Drupal community (and your codebase) are quite stable.

Drupalize.Me resources

  • Introduction to Git series
    • This series will walk you through the basics of version control, and specifically how to use the Git commands you need to manage a Drupal project.

More Guides

We have guides on many Drupal skills and topics.

Explore guides

External resources

  • tryGit (try.github.io)
    • This interactive, in-browser demo will teach you basic Git commands in order to interact with a repository of code.
  • Pro Git book (git-scm.com)
    • An electronic version of the Pro Git book. If you want a deep dive into how Git internally manages your data, this is your place. This is the most complete resource for somewhat obscure Git functionality we're aware of.
  • Git for Teams (gitforteams.com)
    • This is the supplementary site for the excellent "Git for Teams" book. If you're looking for help figuring out your Git workflow, this is an absolutely excellent resource.