1.1 Clone Intro

git clone

1.2 Remote Branches

git commit
git checkout o/main
git commit

1.3 Git Fetchin’

git fetch

1.4 Git Pullin’

git pull

1.5 Fakeing Teamwork

git clone
git fakeTeamwork main 2
git commit
git pull

1.6 Git Pushin’

git commit
git commit
git push

1.7 Diverged History

git clone
git fakeTeamwork
git commit
git pull --rebase
git push

1.8 Locked branch main

git reset --hard o/main
git checkout -b feature C2
git push origin feature

2.1 Push main!

 git rebase side1 side2
 git rebase side2 side3
 git rebase side3 main
 git pull --rebase
 git push

2.2 Merging with remotes

git checkout main
git pull
git merge side1
git merge side2
git merge side3
git push

2.3 Remoting Tracking

git checkout -b side o/main
git commit
git pull --rebase
git push

2.4 Git push arguments

git push origin main
git push origin foo

2.5 Git push arguments — Expanded!

git push origin main~1:foo
git push origin foo:main

2.6 Fetch arguments

git fetch origin main~1:foo
git fetch origin foo:main
git checkout foo
git merge main

2.7 Source of nothing

git push origin :foo
git fetch origin :bar

2.8 Pull arguments

git pull origin bar:foo
git pull origin main:side