00. Download the Project
This project manages all source code, the data generator, and documentation on GitHub.
Since the documentation is updated frequently, we recommend using Git to always stay up to date. If you're new to Git, refer to the instructions below.
What is Git?
Git is a version control system that tracks changes to files. For this tutorial, you only need to know two things:
git clone— Copy the project to your computergit pull— Get subsequent updates with a single command
How to Install Git (click to expand)
Choose one of the following methods:
Option 1: Installer (most common)
Download and install from git-scm.com. Keep the default options during installation.
Option 2: winget (built into Windows 11)
Option 3: Chocolatey
After installation, verify in Command Prompt or Git Bash:
Type git --version in Terminal. If Git is not installed, a Command Line Tools installation dialog will appear automatically. Click "Install".
# This triggers the automatic install prompt if Git is missing
git --version
# Or install directly
xcode-select --install
Different from Homebrew's Git?
xcode-select --install provides Apple's stable Git version. Homebrew (brew install git) provides the latest version, but either works fine for this tutorial. If you haven't installed Homebrew yet, Command Line Tools alone is sufficient.
Download Methods
When updates are available later:
If the command line is difficult, you can use GitHub Desktop.
- Install and launch GitHub Desktop
- Select File > Clone repository
- In the URL tab, enter
https://github.com/civilian7/sql-tutorial.git - Specify a local path and click Clone
- For updates: Click Fetch origin at the top, then Pull origin
You can start immediately without Git, but you'll need to re-download each time to get updates.
- Download ZIP from GitHub
- Extract the downloaded file
- Navigate to the extracted folder (
sql-tutorial-main)
ZIP Limitations
ZIP is a snapshot from the time of download. You won't receive updates such as new lessons or bug fixes.
Verify the Download
If you see the following files in the project folder, everything is correct: