https://github.com/biginformatics/git-basics
Hands-on Git and GitHub lessons for analysts and statisticians
https://github.com/biginformatics/git-basics
data-analysis git github public-health training
Last synced: 12 days ago
JSON representation
Hands-on Git and GitHub lessons for analysts and statisticians
- Host: GitHub
- URL: https://github.com/biginformatics/git-basics
- Owner: BigInformatics
- License: mit
- Created: 2026-05-11T20:37:22.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-05-21T22:03:36.000Z (about 1 month ago)
- Last Synced: 2026-05-22T07:33:42.976Z (about 1 month ago)
- Topics: data-analysis, git, github, public-health, training
- Language: Python
- Homepage: https://biginformatics.github.io/git-basics/
- Size: 3 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git Basics for Analysts and Statisticians
A hands-on, checklist-based introduction to Git and GitHub for people who work with data, reports, scripts, and analysis files.
This course is designed for learners adopting Git while normal work is still moving: reports are due, staffing may be tight, and confidence matters. It avoids long lectures and focuses on small repeatable tasks that answer four practical questions:
```text
What does Git know? → What changed? → What does GitHub have? → What happens next?
```
## Who this is for
- Statisticians, analysts, epidemiologists, evaluators, and public health data teams
- People who collaborate on scripts, documentation, reports, SQL, or reproducible analysis projects
- Beginners who have watched videos or attended group sessions but need guided practice that sticks
## What learners will be able to do
By the end, learners should be able to:
- Explain the difference between Git and GitHub
- Clone a repository from GitHub
- Check repository status
- Review changes with `git diff`
- Stage and commit specific changes
- Understand that `git push` sends commits and does not commit file changes
- Push local commits to GitHub
- Pull updates from GitHub
- Create and use branches
- Open, update, review, and merge pull requests
- Follow a safe beginner workflow without losing work
## Website
This repository publishes as an Astro Starlight site at:
Local preview:
```bash
npm install
npm run dev
```
Build check:
```bash
npm run build
```
## How to use this course
Each lesson is meant to be completed with Git open on the learner's computer. The goal is not to memorize commands. The goal is to practice the same workflow enough times that it becomes familiar.
Recommended format:
1. Read the lesson goal.
2. Complete the checklist.
3. Run the commands yourself.
4. Pause after each command and read what Git says.
5. Write down what happened.
6. Repeat the practice task before moving on.
## Lessons
1. [Lesson 01 — What Git and GitHub Are](lessons/01-what-git-and-github-are.md)
2. [Lesson 02 — Setup and First Orientation](lessons/02-setup-and-orientation.md)
3. [Lesson 03 — Cloning a Repository](lessons/03-cloning-a-repository.md)
4. [Lesson 04 — Status, Staging, and Commits](lessons/04-status-staging-commits.md)
5. [Lesson 05 — Pushing and Pulling](lessons/05-pushing-and-pulling.md)
6. [Lesson 06 — Branching](lessons/06-branching.md)
7. [Lesson 07 — Pull Requests](lessons/07-pull-requests.md)
8. [Lesson 08 — A Complete Beginner Workflow](lessons/08-complete-workflow.md)
## Practice materials
- [Practice checklist](exercises/practice-checklist.md)
- [Template practice repositories](practice/template-repositories.md)
- [Facilitator guide](resources/facilitator-guide.md)
- [Command cheat sheet](resources/command-cheat-sheet.md)
- [Glossary](resources/glossary.md)
## Teaching philosophy
Git sticks when learners connect commands to a simple mental model:
```text
update main → branch → edit → status → diff → add → commit → push → pull request
```
For beginners, confidence matters more than speed. Encourage small commits, frequent `git status`, and lots of repetition.