Carolina Torreblanca
University of Pennsylvania
Global Development: Intermediate Topics in Politics, Policy, and Data
PSCI 3200 - Spring 2026
Git is a version control program, so you can avoid…
Data analysis projects
Version control can help
Each project is a repository (repo)
Usage
Collaboration
Essential commands
git pull origin maingit add .git commit -m "describe your changes or vent frustration"git push origin main
Git can be complicated
Create an account for yourself or your organization
If no, install git
.exeOptional: Override the default branch name (select ‘main’)
Make sure that “Git from the command line and 3rd-party software” is selected
"Your Name"and "yourname@email.edu" with your name/email used to sign up for GitHubCheck that the configuration worked
.exeSign-in to your account on github.com and click “New”
Give your repository a name and make it public or private
Open Github Desktop and “clone” the remote repo
Push those changes to the remote version on Github.com
When colleagues push a commit to the repo, you can pull their commit by clicking “Pull origin”
Moving to RStudio
Change output director to docs
_site folder (now its using docs)data folder to store your dataset.qmd file to your repo (or drop it into index.qmd)_quarto.yml to add new pages to navigation barindex.qmd; confirm that other pages have been renderedhttps://carolina-torreblanca.github.io/psci3200-globaldev-main/