Slide 1

Slide 1 text

Introduction to git

Slide 2

Slide 2 text

"In software development, Git /ɡɪt/ is a distributed revision control and source code management (SCM) system with an emphasis on speed. Git was initially designed and developed by Linus Torvalds for Linux kernel development in 2005. Every Git working directory is a full-fledged repository with complete history and full version tracking capabilities, not dependent on network access or a central server." - Wikipedia

Slide 3

Slide 3 text

Say what?

Slide 4

Slide 4 text

Git is a tool that will help you track down changes in your work and your code.

Slide 5

Slide 5 text

(Git is basically the slightly annoying girlfriend/boyfriend that will constantly take pictures of you: while you're eating, while you're walking, while you're sleeping; tracking down your every move. At first it's a little difficult to get used to it, but the day you really need to know what you were wearing at your third cousin's best friend's brother's 17th birthday party, those photos will come in handy.)

Slide 6

Slide 6 text

Some basic concepts

Slide 7

Slide 7 text

git works with source code

Slide 8

Slide 8 text

git tracks changes

Slide 9

Slide 9 text

git helps collaboration

Slide 10

Slide 10 text

git works in a non-linear way, and there are different ways to use that to your advantage

Slide 11

Slide 11 text

Understand the lingo

Slide 12

Slide 12 text

repository ! the "folder" inside your project where all the changes will be

Slide 13

Slide 13 text

commit ! a way to "save your changes"

Slide 14

Slide 14 text

a little like a tree, you have the main trunk (master branch) and the feature branches, so you can work on separate things simultaneously

Slide 15

Slide 15 text

Follow these steps

Slide 16

Slide 16 text

install git ! http://git-scm.com/

Slide 17

Slide 17 text

initiate a repository for the project you want to track ! (git init)

Slide 18

Slide 18 text

stage the files you have made changes to ! (git add)

Slide 19

Slide 19 text

comment and commit your changes to the files you have added ! (git commit -m)

Slide 20

Slide 20 text

check the status of your changes ! (git status)

Slide 21

Slide 21 text

Usually, you run these commands from the terminal. There are also GUIs (Graphic User Interfaces) available, though

Slide 22

Slide 22 text

Practice makes perfect

Slide 23

Slide 23 text

Try Git mini-tutorial, all online ! https://try.github.io

Slide 24

Slide 24 text

Git-it (learn git & GitHub in your terminal) https://github.com/jlord/ git-it

Slide 25

Slide 25 text

Have fun! ! &say hello on twitter or github: @alicetragedy