Facilitator Guide
Purpose
Section titled “Purpose”This guide supports a hands-on Git/GitHub onboarding session for analysts and statisticians.
The primary goal is confidence through repetition, not comprehensive Git knowledge.
Recommended session structure
Section titled “Recommended session structure”Session 1 — Orientation and first commit
Section titled “Session 1 — Orientation and first commit”Time: 45–60 minutes
- Explain Git vs GitHub using the local/remote model.
- Confirm everyone has Git installed.
- Confirm everyone can access GitHub.
- Clone a practice repository.
- Make one small README change.
- Stage and commit the change.
- Push the change.
Session 2 — Branches and pull requests
Section titled “Session 2 — Branches and pull requests”Time: 45–60 minutes
- Start from an updated
mainbranch. - Create a new branch.
- Make a small change.
- Commit and push the branch.
- Open a pull request.
- Review one another’s PRs.
- Merge the PR.
- Pull the updated
mainbranch.
Session 3 — Repetition and troubleshooting
Section titled “Session 3 — Repetition and troubleshooting”Time: 45–60 minutes
- Repeat the full workflow with a new small change.
- Practice reading
git statustogether. - Practice identifying the current branch.
- Practice updating a PR after feedback.
- Discuss safe commands and commands to ask about first.
Facilitation tips
Section titled “Facilitation tips”- Have learners type the commands themselves.
- Use very small file changes.
- Pause after every command and ask: “What did Git say?”
- Normalize mistakes. Most Git learning comes from recovering calmly.
- Encourage learners to run
git statuswhenever they feel uncertain. - Avoid introducing advanced topics too early.
Common beginner sticking points
Section titled “Common beginner sticking points”Authentication problems
Section titled “Authentication problems”Symptoms:
- Git asks for a password.
- Push fails.
- GitHub says permission denied.
Response:
- Confirm the learner is logged in to GitHub.
- Confirm they have access to the repository.
- Use GitHub’s recommended authentication method for the environment.
Wrong folder
Section titled “Wrong folder”Symptom:
fatal: not a git repositoryResponse:
- The learner is probably not inside the repository folder.
- Have them locate the cloned folder and
cdinto it.
Wrong branch
Section titled “Wrong branch”Symptom:
- The learner made changes on
maininstead of a branch.
Response:
- Do not panic.
- Check
git status. - If changes are uncommitted, create a branch before committing:
git checkout -b branch-nameNothing to commit
Section titled “Nothing to commit”Symptom:
nothing to commit, working tree cleanResponse:
- Git does not currently see any unsaved changes.
- Confirm the file was saved in the editor.
- Confirm the learner is in the expected repository.
What not to teach on day one
Section titled “What not to teach on day one”Avoid these until learners are comfortable with the basic workflow:
- Rebase
- Cherry-pick
- Reset hard
- Force push
- Merge conflict internals
- Complex branching strategies
Success criteria
Section titled “Success criteria”A learner is ready for normal beginner use when they can complete this without prompting:
pull main → create branch → edit file → status → add → commit → push → open PR