Command Palette

Search for a command to run...

GitHubGitHub

Version Control

Set up Git and the GitHub and GitLab command line clients with authentication, branching strategies, credential helpers and the everyday commands every DevOps engineer relies on.

Version control is where every delivery workflow starts. These guides cover installing Git and the provider CLIs, configuring authentication that never breaks, and the branching habits that keep history readable.

Every guide is written against the current release line and verified against the upstream documentation:

GuideCurrent releaseWhat it covers
Git2.56.0Identity, SSH keys, credential helpers, commit signing
GitHub CLI2.102.1Official repos, the 2026 key rotation, PRs and workflows
GitLab CLI1.124.0OAuth and token auth, merge requests, pipelines, runners
Available Guides

What you will learn

  • Git — install it, configure your identity, understand the staging area and use a branching model that scales with your team.
  • GitHub CLI — authenticate with gh, review pull requests and cut releases from the terminal.
  • GitLab CLI — authenticate with glab and work with merge requests, pipelines and projects.

Workflow recommendations

  1. Commit small, focused changes with messages that explain the why
  2. Rebase local work before opening a pull request
  3. Protect the default branch and require reviews
  4. Use signed commits or tags for releases
  5. Configure a credential helper or SSH keys once — never store tokens in plain text