Helmsman Academy
Git, zero to expert

Git foundations: how Git works, setup, the daily workflow, history, branches and remotes

6 lessons · about 96 minutes of reading · Helmsman Pro

This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.

Sign in and start

In short

From zero: why version control exists and how Git stores snapshots, installing and configuring Git on every platform with SSH keys and line endings handled, the daily staging and commit workflow, reading history, branching and merging with calm conflict resolution, and working with remotes and forks.

Before you start: None. A terminal and a GitHub or GitLab account.

What you'll learn

Lessons

1. Why version control, and how Git really stores your work

What Git is for, how it differs from saving copies, and the model underneath: snapshots, objects, hashes, the three areas and branches as movable pointers.

Sign in to open the lesson

2. Installing and configuring Git on every platform

Install Git on Linux, macOS and Windows, set identity and defaults at the right level, set up SSH keys and credential helpers, and get line endings right for mixed teams.

Sign in to open the lesson

3. The daily workflow: staging, committing well and ignoring files

Use status, add, diff, commit and restore fluently; stage parts of files; write commits reviewers love; and keep junk and secrets out with .gitignore.

Sign in to open the lesson

4. Reading history: log, show, blame, grep and the pickaxe

Find out what changed, when, by whom and why: filtered logs, ranges, blame with move detection, searching code and history, and the reflog as your safety net.

Sign in to open the lesson

5. Branches, merging and resolving conflicts

Create and switch branches, understand fast-forward and three-way merges, resolve conflicts calmly with good tools, and know when to abort.

Sign in to open the lesson

6. Remotes: clone, fetch, pull, push, forks and upstreams

Work with remotes confidently: what fetch and pull really do, tracking branches, safe pushing, forks with an upstream remote, and tags.

Sign in to open the lesson

Common questions

Is Git the same as GitHub?

No. Git is the tool; GitHub, GitLab and Bitbucket host repositories and add pull requests, CI and permissions.

Should I use SSH or HTTPS?

Either; SSH is simplest for daily work, HTTPS with a credential manager works through strict proxies.

Is it OK to amend a pushed commit?

Only on your own branch and with --force-with-lease; never on shared branches.

How long does the reflog keep entries?

90 days for reachable entries and 30 for unreachable ones by default (gc.reflogExpire settings).

Should I delete merged branches?

Yes; git branch -d refuses if unmerged, and the commits stay in history.

Lightweight or annotated tags?

Annotated for releases (they carry who, when and why, and can be signed); lightweight for private bookmarks.