Author: Sam Miyamoto
Event Introduction
Join us for an introductory session on Git, the quintessential version control software used by developers to collaborate and manage projects. Discover some fundamental concepts, explore its practical applications, and learn how to efficiently use both the command line and the Visual Studio Code graphical user interface (GUI). Whether you’re a seasoned developer or just starting your coding journey, this webinar will equip you with essential skills.
Video
Resources
- Slides
- Repo: Sam’s live working example
- Download: VS Code
- Download: Git
Section Timestamps of Video
- 00:00 Data Umbrella Introduction
- 04:19 Sam begins presentation
- 05:19 Agenda / Outline
- 05:41 What is Git? 30,000 ft overview
- 08:15 The 3 stages of a file in Git
- 09:27 Git terminology
- 11:00 Branching
- 12:38 Git Branching - parallel development
- 14:32 Git Demo and pre-requisites
- 17:25 VS Code
- 17:40 Configure git identity
- 21:36 Create a repo with: git init, VS Code, GitHub
- 25:40 Make a commit
- 33:50 Create a branch via VS Code
- 36:24 Collaborating in the cloud: GitHub
- 44:05 Q: Is there a way to see the global configurations file?
- 44:44 Git Graph (add this extension): visualize and act on branches
- 45:52 Q: What is the idea of a branch?
- 46:48 Q: Are main and master branch the same?
- 47:43 Q: What is difference between “git remote add origin” and “git clone”
- 49:18 Q: Show the code for pushing to a branch
- 51:03 Q: How to visualize Git Graph?
- 51:43 Q: What are differences between “git pull” and “git fetch”?
- 52:38 Q: Explain “git stash” and difference between regular staging (“git add”)
- 53:22 Q: What is the difference between using the HTTPS and SSH keys for repo URLs?
- 55:27 Troubleshooting some common git issues
- 56:00 Merge conflicts
- 01:02:33 Git Graph
- 01:11:30 git rebase
- 01:21:32 Submit a pull request (PR) on GitHub
- 01:22:38 git ignore file
- 01:24:35 Continuing learning
- 01:26:30 Q: git stash (temporarily store changes), Can you go through an example?
- 01:32:18 git stash show, to unstash: git stash pop
About the Speaker
Bio
Sam Miyamoto, MPH is a software engineer and civic tech enthusiast based in the Los Angeles, California area. With experience in varying roles in sectors like clean transportation, public health, data storage, renewable energy, and more, she is dedicated to solutions that have impact. Fun fact: She once went composting with a group of friends at Griffith Park.
Connect with the Speaker
- GitHub: @samvmdev
- LinkedIn: Sam Miyamoto