@@ -41,39 +41,31 @@ share with others when you are ready.
4141
4242## 3. Installation
4343
44- ### Windows
44+ ### Download
4545
46- 1 . Download the installer from https://git-scm.com/downloads
47- 2 . Run the installer with the default options
48- 3 . Open PowerShell and run ` git --version `
46+ Go to https://git-scm.com/downloads and download the installer for
47+ your operating system.
4948
50- ### macOS
49+ ### Install
5150
52- ** Option A — Xcode Command Line Tools (no extra software needed):**
51+ | OS | How to install |
52+ | ----| ---------------|
53+ | Windows | Run the downloaded installer with the default options |
54+ | macOS | Run ` xcode-select --install ` in Terminal, or ` brew install git ` if you use Homebrew |
55+ | Ubuntu / Debian | ` sudo apt-get install git ` |
56+ | Fedora | ` sudo dnf install git ` |
57+ | Arch Linux | ` sudo pacman -S git ` |
5358
54- 1 . Open Terminal and run ` git --version `
55- 2 . If Git is not installed, macOS will prompt you to install the Command Line Tools — follow the dialog
59+ ### Verify
5660
57- ** Option B — Homebrew: **
61+ Open a terminal and run:
5862
59- 1 . Install [ Homebrew] ( https://brew.sh/ ) if you do not have it
60- 2 . Run ` brew install git `
61- 3 . Run ` git --version `
62-
63- ### Linux
64-
65- | Distribution | Command |
66- | -----------------| --------------------------------------|
67- | Ubuntu / Debian | ` apt-get install git ` |
68- | Fedora 22+ | ` dnf install git ` |
69- | Arch Linux | ` pacman -S git ` |
70- | openSUSE | ` zypper install git ` |
71- | Alpine | ` apk add git ` |
72- | Gentoo | ` emerge --ask --verbose dev-vcs/git ` |
73- | FreeBSD | ` pkg install git ` |
74- | Nix/NixOS | ` nix-env -i git ` |
63+ ``` text
64+ $ git --version
65+ git version 2.47.1
66+ ```
7567
76- After installing, run ` git -- version` to verify .
68+ If you see a version number, Git is installed .
7769
7870## 4. Hosting
7971
@@ -153,13 +145,15 @@ full history.
153145
154146![ Command Overview] ( ../assets/images/git-command-overview.png )
155147
156- Commands are grouped by experience level:
148+ Commands are grouped by category and experience level:
157149
158- - ** Beginner** — Help, Create, Configure, Track, Inspect
159- - ** Advanced** — Sync, Revert, Branch, Reuse
160- - ** Expert** — Rewrite and Cleanup (can destroy history — use with caution)
150+ | Level | Categories |
151+ | -------| -----------|
152+ | Beginner | Help, Create, Configure, Track, Inspect |
153+ | Advanced | Sync, Revert, Branch, Reuse |
154+ | Expert | Rewrite, Cleanup (can destroy history) |
161155
162- Each command group is covered in detail in the following chapters. The
156+ Each category is covered in detail in the following chapters. The
163157table below lists the most common commands in daily operations.
164158
165159| Command | What it does | Example |
0 commit comments