-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgetGit.tex
executable file
·822 lines (713 loc) · 23.3 KB
/
getGit.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 3.
%
% Seth Brown, Ph.D.
%
% Compiled with XeLaTeX
% Dependencies:
% Fontin Sans font (http://www.exljbris.com/fontinsans.html)
%
% TODO: Add citations as bibtex
\documentclass[unknownkeysallowed]{beamer}
\usepackage{graphicx} % graphics
\usepackage{epsfig} % eps graphics
\usepackage{hyperref} % urls
\usepackage{booktabs, caption} % table styling
% suppress navigation bar
\beamertemplatenavigationsymbolsempty
\mode<presentation>
{
\usetheme{bunsen}
\setbeamercovered{transparent}
\setbeamertemplate{items}[circle]
}
% configure hyperlink styling
\hypersetup{
colorlinks = true, %Removes boxes and colors links
urlcolor = blue,
linkcolor = blue,
citecolor = red
}
% set fonts
\usepackage{fontspec}
\setsansfont{Fontin Sans}
\setbeamerfont{frametitle}{size=\LARGE,series=\bfseries}
% color definitions
\usepackage{color}
\definecolor{uipoppy}{RGB}{225, 64, 5}
\definecolor{uipaleblue}{RGB}{96,123,139}
\definecolor{uiblack}{RGB}{0, 0, 0}
% caption styling
\DeclareCaptionFont{uiblack}{\color{uiblack}}
\DeclareCaptionFont{uipoppy}{\color{uipoppy}}
\captionsetup{labelfont={uipoppy},textfont=uiblack}
% see the macros.tex file for definitions
\include{macros}
% title slide definition
% TODO: Change image to something less creepy - complex knot pattern?
\title{Get Git}
\author{Chris Keefe, Anthony Simard, Carter Taylor}
\institute{Northern Arizona University \\
Department of Computer Science \\
School of Informatics, Computing, and Cyber Systems \\
}
\date{\today}
%--------------------------------------------------------------------
% Introduction
%--------------------------------------------------------------------
\begin{document}
\section{Introduction}
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight]{assets/frontpage_bg}}
\setbeamertemplate{footline}[default]
\begin{frame}
\vspace{2cm}
\begin{columns}
\column{2.75in}
\titlepage
\vspace{10cm}
\column{2.0in}
\end{columns}
\end{frame}
%-------------------------------------------------------------------
% Section 1
%-------------------------------------------------------------------
%
% Set the background for the rest of the slides.
% Insert infoline
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight]{assets/slide_bg}}
\setbeamertemplate{footline}[bunsentheme]
\section{Getting Started With Git}
\begin{frame}
\frametitle{Installing Git}
Packages available from: \url{https://git-scm.com/downloads}
\vspace{0.5cm}
\begin{itemize}
\item{Windows: Install gitbash.}
\item{Linux: Install through package manager.}
\item{Mac: Download git-osx-installer and run. }
\end{itemize}
\vspace{0.5cm}
Note: We will be using Github today. Consider opening a free account now.
Ditto for Hacktoberfest, if you plan to participate this year.
\end{frame}
\section{What, Why, and How?}
\begin{frame}
\frametitle{Git is not GitHub}
\vspace{0.5cm} % generate some space between title and content
Git is a powerful version control system
\begin{itemize}
\item{Git allows multiple people to easily update the same source}
\item{Git makes keeping track of changes easy and robust}
\item{Git allows people around the world to collaborate on open and closed source projects}
\end{itemize}
\vspace{0.25cm}
GitHub is a site hosting some git repositories
\begin{itemize}
\item{It is free to host open source repos. Small private repos too.}
\item{Large closed-source repos cost \$\$\$}
\item{GitHub provides communication and project management tools}
\begin{itemize}
\item{Pull requests}
\item{Issue tracking}
\item{Project management}
\item{Acess permissioning}
\end{itemize}
\vspace{0.25cm}
\item{Git repos absolutely do not need to be on GitHub}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Some neat repos}
\vspace{0.75cm}
Check these out:
\vspace{0.25cm}
\begin{itemize}
\item{\href{https://github.com/k88hudson/git-flight-rules}{Flight Rules for Git}}
\item{\href{https://github.com/Microsoft/vscode}{Visual Studio Code}}
\item{\href{https://github.com/crawl/crawl}{Dungeon Crawl Stone Soup}}
\item{\href{https://github.com/tensorflow/tensorflow}{Tensorflow}}
\item{\href{https://github.com/freeCodeCamp/freeCodeCamp}{freeCodeCamp}}
\item{\href{https://github.com/twbs/bootstrap}{Bootstrap}}
\item{\href{https://github.com/TheAlgorithms/Python}{TheAlgorithms}}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Who uses git?}
\vspace{.5cm}
\begin{figure}
\minipage{0.25\textwidth}
\begin{center}
\includegraphics[width = .4\linewidth]{assets/logos/microsoft_logo}
\end{center}
\endminipage
\minipage{0.25\textwidth}
\begin{center}
\includegraphics[width = .4\linewidth]{assets/logos/amazon_logo}
\end{center}
\endminipage
\minipage{0.25\textwidth}
\begin{center}
\includegraphics[width = .4\linewidth]{assets/logos/apple_logo}
\end{center}
\endminipage
\minipage{0.25\textwidth}
\begin{center}
\includegraphics[width = .4\linewidth]{assets/logos/facebook_logo}
\end{center}
\endminipage
\end{figure}
\begin{itemize}
\item{Everyone uses git}
\begin{itemize}
\item{Major corporations}
\item{Governments}
\item{Independent software developers}
\item{Students collaborating on projects}
\item{Many MANY open source projects}
\end{itemize}
\item{Git can easily be used for open or closed source projects making it a diverse and powerful tool}
\item{We used git and GitHub as version control for this presentation}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Why use git?}
\begin{itemize}
\item{Fast, free, safe version control for your own code}
\vspace{0.25cm}
\item{Employers use version control}
\vspace{0.25cm}
\item{Collaboration is easier with git}
\vspace{0.25cm}
\item{Alongside GitHub, Git makes showing off easy}
\vspace{0.25cm}
\item{Git skills simplify contributing to open source.}
\end{itemize}
\end{frame}
\section{Some Vocabulary}
\begin{frame}
\frametitle{Repository: A fancy bucket}
\begin{itemize}
\item{Repositories can be on your local computer, a friend's machine, or on the cloud.}
\vspace{0.5cm}
\item{Git repositories hold special hidden files that describe your project's history}
\vspace{0.5cm}
\item{You can perform `git` commands from within a repository}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Commit: the basic unit of change}
\begin{itemize}
\item{A commit is a thematically grouped set of changes}
\vspace{0.5cm}
\item{Commits let us understand and manipulate our development history}
\vspace{0.5cm}
\item{Group and name your commits well, so they're easy to work with.}
\end{itemize}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
A is a commit, with a really bad name.
\begin{verbatim}
A
o
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
Your software project grows across time.
\begin{verbatim}
A
o
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
Your software project grows across time.
\begin{verbatim}
A B
o--o
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
Your software project grows across time.
\begin{verbatim}
A B C
o--o--o
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
You develop many features on your project's branches.
\begin{verbatim}
A B C
o--o--o--\
\
\--o
D
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
You develop many features on your projects branches.
\begin{verbatim}
A B C E
o--o--o--\--o
\
\--o
D
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
You develop many features on your projects branches.
\begin{verbatim}
F
/--o
/
A B C E /
o--o--o--\--o/
\
\--o
D
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
You develop many features on your projects branches.
\begin{verbatim}
F
/--o
/
A B C E / G
o--o--o--\--o/---o
\
\--o
D
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
You develop many features on your projects branches.
\begin{verbatim}
F
/--o
/
A B C E / G
o--o--o--\--o/---o
\
\--o--o--\
D H \
\--o
DUMB
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
You develop many features on your projects branches.
\begin{verbatim}
F
/--o
/
A B C E / G
o--o--o--\--o/---o
\
\--o--o--\--o
D H \ I
\--o
DUMB
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
When harvest time comes, you pick the good ones and leave the bad.
\begin{verbatim}
F
/--o
/
A B C E / G
o--o--o--\--o/---o
\
\--o--o--\--o
D H \ I
\--o
DUMB
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
When harvest time comes, you pick the good ones and leave the bad.
\begin{verbatim}
F
/--o
/
A B C E / G F
o--o--o--\--o/---o--o
\
\--o--o--\--o
D H \ I
\--o
DUMB
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
When harvest time comes, you pick the good ones and leave the bad.
\begin{verbatim}
F
/--o
/
A B C E / G F D H I J(merged)
o--o--o--\--o/---o--o-----/o--o--o--o
\ /
\--o--o--\--o/
D H \ I
\--o
DUMB
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
It's possible to clean up unused branches at any time.
\begin{verbatim}
F
/--o
/
A B C E / G F D H I J(merged)
o--o--o--\--o/---o--o-----/o--o--o--o
\ /
\--o--o--\--o/
D H \ I
\--o
DUMB
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
It's possible to clean up unused branches at any time.
\begin{verbatim}
F
/--o
/
A B C E / G F D H I J(merged)
o--o--o--\--o/---o--o-----/o--o--o--o
\ /
\--o--o-----o/
D H I
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
It's possible to clean up unused branches at any time.
\begin{verbatim}
A B C E G F D H I J(merged)
o--o--o--\--o----o--o-----/o--o--o--o
\ /
\--o--o-----o/
D H I
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Branch: development history}
It's possible to clean up unused branches at any time.
\begin{verbatim}
A B C E G F D H I J(merged)
o--o--o-----o----o--o------o--o--o--o
\end{verbatim}
\end{frame}
\begin{frame}
\frametitle{The Master Branch is Sacred}
"There's only one rule: anything in the master branch is always deployable."
\vspace{0.25cm}
\begin{itemize}
\item{Project-wide: The product can always ship. You always have a reservoir of clean code to pull from.}
\item{Locally: Prevents merge conflicts by ensuring you always have a clean copy to branch from.}
\item{origin repo vs upstream repo}
\end{itemize}
\end{frame}
\begin{frame}
\vspace{1.2cm}
\begin{columns}
\column{2.5in}
\frametitle{Our Sample Workflow}
\column{2.25in}
\begin{center}
\includegraphics[width = .9\linewidth]{assets/gitflow1}
\end{center}
\end{columns}
\vspace{1cm}
\end{frame}
\begin{frame}
\vspace{1cm}
\begin{columns}
\column{2.5in}
\frametitle{Our Sample Workflow}
1. Pull from Upstream Master to \\
Local Master \linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\column{2.25in}
\begin{center}
\includegraphics[width = .9\linewidth]{assets/gitflow2}
\end{center}
\end{columns}
\vspace{1cm}
\end{frame}
\begin{frame}
\vspace{1cm}
\begin{columns}
\column{2.5in}
\frametitle{Our Sample Workflow}
1. Pull from Upstream Master to \\
Local Master \linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\column{2.25in}
\begin{center}
\includegraphics[width = .9\linewidth]{assets/gitflow3}
\end{center}
\end{columns}
\vspace{1cm}
\end{frame}
\begin{frame}
\vspace{1cm}
\begin{columns}
\column{2.5in}
\frametitle{Our Sample Workflow}
1. Pull from Upstream Master to \\
Local Master \linebreak\linebreak
2. Branch to Working Directory \linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\column{2.25in}
\begin{center}
\includegraphics[width = .9\linewidth]{assets/gitflow4}
\end{center}
\end{columns}
\vspace{1cm}
\end{frame}
\begin{frame}
\vspace{1cm}
\begin{columns}
\column{2.5in}
\frametitle{Our Sample Workflow}
1. Pull from Upstream Master to \\
Local Master \linebreak\linebreak
2. Branch to Working Directory \linebreak\linebreak
3. Make and test changes \linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\column{2.25in}
\begin{center}
\includegraphics[width = .9\linewidth]{assets/gitflow4}
\end{center}
\end{columns}
\vspace{1cm}
\end{frame}
\begin{frame}
\vspace{1cm}
\begin{columns}
\column{2.5in}
\frametitle{Our Sample Workflow}
1. Pull from Upstream Master to \\
Local Master \linebreak\linebreak
2. Branch to Working Directory \linebreak\linebreak
3. Make and test changes \linebreak\linebreak
4. Commit to Local Dev \linebreak\linebreak
\linebreak\linebreak
\linebreak\linebreak
\column{2.25in}
\begin{center}
\includegraphics[width = .9\linewidth]{assets/gitflow4}
\end{center}
\end{columns}
\vspace{1cm}
\end{frame}
\begin{frame}
\vspace{1cm}
\begin{columns}
\column{2.5in}
\frametitle{Our Sample Workflow}
1. Pull from Upstream Master to \\
Local Master \linebreak\linebreak
2. Branch to Working Directory \linebreak\linebreak
3. Make and test changes \linebreak\linebreak
4. Commit to Local Dev \linebreak\linebreak
5. Push to Origin Dev \linebreak\linebreak
\linebreak\linebreak
\column{2.25in}
\begin{center}
\includegraphics[width = .9\linewidth]{assets/gitflow5}
\end{center}
\end{columns}
\vspace{1cm}
\end{frame}
\begin{frame}
\vspace{1.01cm}
\begin{columns}
\column{2.5in}
\frametitle{Our Sample Workflow}
1. Pull from Upstream Master to \\
Local Master \linebreak\linebreak
2. Branch to Working Directory \linebreak\linebreak
3. Make and test changes \linebreak\linebreak
4. Commit to Local Dev \linebreak\linebreak
5. Push to Origin Dev \linebreak\linebreak
6. Open pull request to Upstream \\
Master
\column{2.25in}
\begin{center}
\includegraphics[width = .95\linewidth]{assets/gitflow6}
\end{center}
\end{columns}
\vspace{1cm}
\end{frame}
\begin{frame}
\vspace{.25cm}
\frametitle{In An Alternate Reality}
\begin{center}
\includegraphics[width = .8\linewidth]{assets/thenextlevel}
\end{center}
\vspace{.25cm}
\end{frame}
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight]{assets/slide_bg}}
\begin{frame}[fragile]
\frametitle{Get source code}
Today, we will be updating an existing Github repo. For your own projects, it's easy to initialize a new repo. Google "git init".
You will need:
\begin{itemize}
\item{Buddies to work with}
\item{A computer with Git, an editor, and a Github account}
\item{A "Fork" of the repo to which you want to contribute - a fork is a complete copy of the repository, to which you have edit access. Note: this is a Github concept}
\item{A "Clone" of your fork - this copies it to your local machine, where you can work with it. \verb/git clone <paste repo url>/}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Explore your repo}
\begin{itemize}
\item{Navigate into the cloned repo. ```cd <repo-name>``` You'll see:}
\begin{itemize}
\item{source files}
\item{utility files, including a README and license}
\item{a hidden .git folder, where the magic lives}
\end{itemize}
\item{```git status``` what changes have been made in your repo?}
\item{```git log``` - what does your commit history look like?}
\item{```git branch``` - what branch have I checked out?}
\item{```git remote -v``` - what remote copies of the repo does my git know about?}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Make Changes, and Commit Them}
\begin{itemize}
\item{```git checkout -b <branchName>``` - this creates and checks out a new branch, keeping your 'master' clean}
\item{Edit with your preferred editor. Make changes. Save them.}
\item{Return to the command line, and ```git status```}
\item{```git add <filenames>``` tells git which files to track in this commit.}
\item{```git commit -m 'describes the content of the current commit'``` git saves a record of this point in history to your local machine.}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Push to your Fork}
\begin{itemize}
\item{```git push <repo-name> <branch-name>``` - pushes your changes to another repository }
\item{Git is decentralized. Push can update any repo to which you have edit access.}
\item{Your changes may now be public. Consider others before rewriting history.}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Open a Pull Request}
\begin{itemize}
\item{Pull requests ask the owner of the repository to merge your branch into their codebase}
\item{A pull request will merge all commits on the branch. Make a new branch if you want to develop a new PR.}
\item{Be sure to follow the contribution guidelines of the repo owner.}
\item{Expect constructive criticism and requests for code changes.}
\end{itemize}
\end{frame}
\section{Things to Look Forward To!}
\begin{frame}
\frametitle{Uh-oh!}
\vspace{0.25cm}
There are many fun ways to break things with Git. Let's get started!
\begin{itemize}
\item{You forgot to create a new branch from master}
\begin{itemize}
\item{`stash` changes, `checkout` a branch, `stash pop` on the new branch}
\item{If you've made multiple commits to `master`, try `rebase`}
\end{itemize}
\item{You forgot to update your source before editing}
\begin{itemize}
\item{`stash` or `commit` your changes, 'checkout master', 'pull' code from 'upstream', 'merge' that code with your working branch, 'stash pop' if necessary}
\end{itemize}
\item{You pushed the wrong thing to your fork}
\begin{itemize}
\item{if anyone else is using that code, make changes as new commits}
\item{If you're the only user, you might "force push" changes to the repo}
\end{itemize}
\item{You made a horrible, tangled mess of your commit history}
\begin{itemize}
\item{Breathe. Use git's fancy `log` options or a GUI to display your mess.}
\item{Don't panic. Draw diagrams. Make a plan. Google is your friend.}
\item{Go walking. "Irreversible" damage can usually be fixed by `git reflog`}
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{On the bright side...}
\begin{itemize}
\item{You'll never lose committed changes.}
\item{You have fine-grained control over your codebase and its history}
\item{Sharing your work with collaborators and possible employers is super easy.}
\item{Editing your code on different machines is super easy}
\item{You can contribute effectively to all kinds of amazing projects.}
\end{itemize}
\end{frame}
\section{Let's do this!}
\begin{frame}
\frametitle{Project Overview}
What's next?
\begin{itemize}
\item{Work closely with another group to edit existing pages and avoid mergeconflict.}
\item{Create merge conflicts by editing existing pages without coordination.}
\item{Feeling bold? Contribute to this presentation instead of the test repo.}
\item{Super pro? Find an open source project, and contribute to that.}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Git Cheat Sheet}
\begin{columns}
\column{2.75in}
\begin{itemize}
\item{```git init```}
\item{```git clone <repo url>```}
\item{```git fetch <remote alias>```}
\item{```git pull <remote alias> <branch>```}
\item{```git checkout <branch name>```}
\item{```git checkout -b <branch name>```}
\item{```git push <remote alias> <branch>```}
\end{itemize}
\column{2.0in}
\begin{itemize}
\item{```git status```}
\item{```git git log```}
\item{```git branch```}
\item{```git remote -v```}
\item{```git add <filename>```}
\item{```git commit -m 'message'```}
\end{itemize}
\end{columns}
\end{frame}
\end{document}