This repository contains the documentation for the introductory Git workshop at the University of Applied Sciences of Eastern Switzerland. Looking for slides? Click here
The workshop is about 2 hours, first with a lecture-style introduction followed by hands-on learning. Contents:
- Theoretical introduction
- Motivate why the Git history is a directed acyclic graph (DAG)
- How is Git implemented? Merkle DAGs!
- Practical introduction
- How to use Git? The command-line and graphical interfaces
- What is the staging area
- Best practices
- What are GitHub, GitLab, etc.?
- Hands-on: Try in small groups with the other students at the workshop
- Bonus content: Binary search and git bisect
There is no homework. Bring your laptop! No need have git installed, we can do that at the end of the workshop together in the hands-on phase.
If enough people are interested it might take place again next year. Let me know that you're interested! Learning together is always more fun.
The following 3 videos cover the same content as the workshop. Each is around 30 minutes. You may want to try what you learned in each video before watching the next.
- Introduction to Git - Core Concepts
- Introduction to Git - Branching and Merging
- Introduction to Git - Remotes
If prefer an university lecture style, this recorded lecture from The Missing Semester at Cambridge University (ca. 1.30 hour) which is also good.
Git-Workshop 2025 (c) by Naoki Pross
Git-Workshop is licensed under a Creative Commons Attribution-ShareAlike 4.0
Unported License.
You should have received a copy of the license along with this
work. If not, see <http://creativecommons.org/licenses/by-sa/4.0/>.