Uploaded March 2026 | Updated November 2026, 9 hours ago
Git is the version control system that records every change to your code, and GitHub is where that history lives so other people can work on it with you. This session shows the whole loop inside Positron: initialise a repository, write a .gitignore, stage and commit, branch, open and merge a pull request, delete branches, and resolve a merge conflict, without leaving the IDE. With Isabella Velasquez and Libby Heeren.
What you will learn
- What Git and GitHub each do, and why a data scientist needs them
- How to turn a Positron project into a Git repository and publish it to GitHub
- What belongs in a .gitignore, and why
- How to stage, commit and push, and how to undo a commit you did not mean to make
- How branches, stashes and pull requests work in practice
- How to set branch protection rules and add a collaborator
- How to resolve a merge conflict when two people change the same lines
- Whether to do this in Positron or in the GitHub web interface
Chapters
0:00 What this session covers
2:56 Creating a Quarto book project in Positron
5:54 Initialising a Git repository and publishing to GitHub
6:49 Creating a .gitignore file
8:00 Do you need a GitHub account before you start?
11:53 Staging changes and making the first commit
13:34 Adding a collaborator on GitHub
14:25 Setting up branch protection rules
15:25 What happens if a repo of the same name already exists?
18:50 Working with pull requests and issues inside Positron
20:18 Cloning an existing repository
24:09 Undoing your last commit
24:41 Stashing staged changes
25:12 Creating a new branch
26:03 Applying changes by popping a stash
27:03 Creating a pull request
28:37 Moving the activity bar to the top
29:40 Reviewing and merging a pull request
32:46 Deleting local and remote branches
36:08 Is there a benefit to doing this in Positron rather than the GitHub UI?
39:13 How do you delete an old branch you no longer need?
41:40 Using keywords to create GitHub issues automatically
43:24 Does this work with Azure DevOps?
44:12 What is the best way to learn Git and GitHub from scratch?
46:42 Pulling and synchronising branches
49:01 How to resolve a merge conflict
Learn more
Positron: positron.posit.co
Positron documentation: positron.posit.co/quarto.html
The Data Science Lab is a live weekly call. Register at https://pos.it/dslab
Git is the version control system that records every change to your code, and GitHub is where that history lives so other people can work on it with you. This session shows the whole loop inside Positron: initialise a repository, write a .gitignore, stage and commit, branch, open and merge a pull request, delete branches, and resolve a merge conflict, without leaving the IDE. With Isabella Velasquez and Libby Heeren.
What you will learn
- What Git and GitHub each do, and why a data scientist needs them
- How to turn a Positron project into a Git repository and publish it to GitHub
- What belongs in a .gitignore, and why
- How to stage, commit and push, and how to undo a commit you did not mean to make
- How branches, stashes and pull requests work in practice
- How to set branch protection rules and add a collaborator
- How to resolve a merge conflict when two people change the same lines
- Whether to do this in Positron or in the GitHub web interface
Chapters
0:00 What this session covers
2:56 Creating a Quarto book project in Positron
5:54 Initialising a Git repository and publishing to GitHub
6:49 Creating a .gitignore file
8:00 Do you need a GitHub account before you start?
11:53 Staging changes and making the first commit
13:34 Adding a collaborator on GitHub
14:25 Setting up branch protection rules
15:25 What happens if a repo of the same name already exists?
18:50 Working with pull requests and issues inside Positron
20:18 Cloning an existing repository
24:09 Undoing your last commit
24:41 Stashing staged changes
25:12 Creating a new branch
26:03 Applying changes by popping a stash
27:03 Creating a pull request
28:37 Moving the activity bar to the top
29:40 Reviewing and merging a pull request
32:46 Deleting local and remote branches
36:08 Is there a benefit to doing this in Positron rather than the GitHub UI?
39:13 How do you delete an old branch you no longer need?
41:40 Using keywords to create GitHub issues automatically
43:24 Does this work with Azure DevOps?
44:12 What is the best way to learn Git and GitHub from scratch?
46:42 Pulling and synchronising branches
49:01 How to resolve a merge conflict
Learn more
Positron: positron.posit.co
Positron documentation: positron.posit.co/quarto.html
The Data Science Lab is a live weekly call. Register at https://pos.it/dslab










