Database DevOps Engineer · Module 2

Git for DBAs

Version control for database work: what Git is and why DBAs need it, how it works, local and remote repositories, GitHub and GitLab, using Git from the command line and VS Code, a two-team automation project, and best practices.

Beginner 7 lessons About 32 min of reading Free
Lessons

Work through them in order.

Each lesson builds on the one before it.

  1. What Is Git

    What Git is, the problem it solves, DBA life before it, why DBAs need it, and the essentials to learn.

    6 sections4 min read
  2. How Git Works

    The working directory, staging area, and repository, commits and history, branches and merges, and ignoring files.

    5 sections4 min read
  3. Local and Remote Repositories

    Local and remote repositories, push and pull, how teams collaborate with branches and pull requests, and resolving merge conflicts.

    4 sections4 min read
  4. Git, GitHub, and GitLab

    Git the engine versus the platforms built on it, GitHub, GitLab, Bitbucket, and Azure Repos, hosting options, and other version control systems.

    5 sections4 min read
  5. Using Git: Command Line and VS Code

    Setting up Git, the everyday commands, reading history and undoing changes, and Git in VS Code's Source Control view.

    6 sections5 min read
  6. Git in Practice

    A DBA team and a server team use one repository, CODEOWNERS, pull requests, and a pipeline to automate building database servers end to end.

    7 sections5 min read
  7. Git Best Practices and Terms

    Good commits, branches, and reviews, keeping secrets out, protecting history, practices for database code, and the Git terms to know.

    8 sections6 min read