git refresher
�
Paweł Radecki�With love for geeksessions.io�At Loule 2nd April 2025
1
git refresher
…or a short story of very important values in engineering…�
2
git refresher
…or a short story of very important values in engineering…��reverse engineering �intrinsic motivation, �self-learning yet another technology �and digging for truth�
3
git refresher
Git experienced I-know-all-basics-well users go to chapter 4�
4
Once upon a time…
01
5
Once upon a time…�…I was kicked out of project and wanted to use between project time to share knowledge…
01
6
Once upon a time…�…I was kicked out of project and wanted to use between project time to share knowledge…�…because I love sharing knowledge and experience to confront it with others to know the truth
01
7
What is git vs. GitHub / gittea / forgejo ?�What was it created for?�Why has it become de-facto standard of version control?�Why is it so confusing?��
8
What is git?�What was it created for?�Why has it become de-facto standard of version control?�Why is it so confusing?��My inner child wants never to stop asking questions�
9
What is git?�What was it created for?�Why has it become de-facto standard of version control?�Why is it so confusing?��My inner child wants never to stop asking questions�My curious self keeps scribbling and brain dumping observing all possible questions arriving
10
Git�basic �concepts�and �commands
02
11
repository�commit�Directed Acyclic Graph, version graph�branch�HEAD�garbage collection����
12
Let’s connect �and check� some repository…�…with tmate����
13
git clone� init� add� commit� checkout� merge
rebase
cherry-pick� pull� push [--force]����
14
Let’s try some �commands locally…�…with tmate����
15
Github
03
16
Let’s collaborate�on GitHub��- Agree on workflow - feature branch�- Write README.md�- Write fizz_buzz API & stub�- Write dummy fizz_buzz[.rb] for 1 < n < 4�- Write fizz_buzz[.rb] for any n�- Write fizz_buzz_test[.rb]
- Fix bugs if test finds them�
����
17
Challenge yourself
04
18
Basics�https://gitimmersion.com�https://github.com/eficode-academy/git-katas�https://ohmygit.org/��Intermediate�https://learngitbranching.js.org��Advanced�https://github.com/nnja/advanced-git/tree/master/exercises
�
����
19
Questions?�Ask anything about git now�Or later by discord/signal/e-mail
99
20
THANK YOU
Paweł Radecki @GeekSessions Discord
Signal: @paweljradecki.12
E-mail: pawel.j.radecki@gmail.com
21