This repository contains the materials for D-Lab Git Fundamentals workshop.
We recommend attending Command Line Fundamentals prior to this workshop.
Check D-Lab's Learning Pathways to figure out which of our workshops to take!
This introductory workshop covers basics of Git using GitHub. This workshop is designed for people with no previous experience with Git or GitHub. We will cover key concepts and workflows, including version control, repository creation, branching, merging, and collaboration. You'll gain hands-on experience navigating GitHub, managing repositories, and contributing to projects, making it easier to streamline your work and collaborate with others.
After this workshop, you will be able to:
- Understand why we use version control and Git
- Learn basic terms used in Git, such as clone, commit, push, pull, and merge
- Learn how to clone repositories, make changes, and update changes on local and remote repositories
- Handle branches and resolve merge conflicts
Before attending the workshop, please ensure you have gone through these instructions.
You'll need to make sure git
is installed on your system. General instructions
are available on Github.
- Windows: You can install
git
via git for Windows. - Mac: It is very likely
git
should already come installed with your Mac. You can open a terminal and rungit version
to make sure. If it's not installed, you can install it using Homebrew. - Linux: You can use whatever package management system your distribution
uses to install
git
. For Debian/Ubuntu, this isapt
. For Fedora, this will bednf
.
Once git
is installed on your computer, open up the Markdown file
lessons/01_getting_started.md
to create a Github account and set up
authentication tokens. Then, we'll download these materials using a git clone
step.
Check out the following resources to learn more about Git:
D-Lab works with Berkeley faculty, research staff, and students to advance data-intensive social science and humanities research. Our goal at D-Lab is to provide practical training, staff support, resources, and space to enable you to use R for your own research applications. Our services cater to all skill levels and no programming, statistical, or computer science backgrounds are necessary. We offer these services in the form of workshops, one-to-one consulting, and working groups that cover a variety of research topics, digital tools, and programming languages.
Visit the D-Lab homepage to learn more about us. You can view our calendar for upcoming events, learn about how to utilize our consulting and data services, and check out upcoming workshops.
Leah Lee