liveBook · Manning

Git

As explained in Shipping Go: Develop, deliver, discuss, design, and go again

Git is a distributed version-control system for tracking changes to files and coordinating software development.

Git provides the repository where product code, testing code, and infrastructure code stay close to the pipeline that builds, tests, and ships software. section 2.4

A shared Git repository supports an incremental delivery workflow:

  • Store source code centrally so others can contribute. section 2.4
  • Keep product, testing, and infrastructure code together for processing by the delivery pipeline. section 2.4
  • Share the resulting binary with others through the same repository. section 2.4

Connect a local project

Create a repository on GitHub, install Git locally, initialize the directory, and add the remote: git init; git remote add origin git@github.com:holmes89/hello-api.git. section 2.4

git init
git remote add origin git@github.com:holmes89/hello-api.git

Browse the exact Git commands for initializing a repository and connecting it to GitHub. section 2.4

How Shipping Go: Develop, deliver, discuss, design, and go again covers it

How deep it goes
Explains repository purpose and initial setup, but stops short of broader Git workflows or version-control internals.
Examples
Uses a GitHub hello-api repository, Git initialization commands, a remote URL, and a Go-oriented .gitignore setup.
What it assumes
Assumes basic software-development context and requires Git and a GitHub account for the demonstrated setup.
What you can do after
Operate Git by creating a GitHub repository, initializing a local directory, and connecting the directory to a remote.
How it connects
Connects repositories with GitHub, continuous integration, pipelines, testing, building, deployment, and collaboration.

Also explained in

Compare how 8 books explain git →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Shipping Go: Develop, deliver, discuss, design, and go again. The section links point to the parts of the book it draws on.