Introduction to
Git and GitHub
Devfest Tiaret
November 17, 2019
By: Houari ZEGAI
Houari ZEGAI
Software Engineering student.
Java #1 GitHub Developer in Algeria.
Github@HouariZegai
Who am I?
✓ Developers & Team working
✓ Want Job? ..let’s work on your
GitHub profile!
Whose?
Presentation Flow
my first repo: What is Git?
github good: What is GitHub and how it’s work?
git explore: Git Fundamentals 101
open sourcing: Doing some good for the tech
community
So, What is Git?
A Distributed Version Control System.
Any project which uses Git will have a .git folder which
stores all the history of the project.
History:
Know exactly which files changed, who made those changes, and when
those changes occured.
Backup:
Ability to have different versions of the code in different places.
Collaboration:
Collaborate easily with other people on the same project by uploading and
receiving changes
What can we do with
GitHub?
Well, what not?
What is GitHub?
Largest web-based git repository hosting service
Launched in 2008
Allows developers to collaborate on projects
from anywhere
Why GitHub? (Features)
Free platform, sharing codes
Who make changes?
Back (undo) codes!
Work together (different places) & more…
What is a repository?
A repository is a container that houses your
project and its’ history. If your project folder
contains the “.git” folder you’re working with
a repository!
How it’s work?
Let’s do
some
codes!
If you are on windows, use
Git-Bash.
If you are on linux or Mac, use
the Terminal.
Let git know who you are
GitHub uses the email address set in your local Git configuration to
associate commits pushed from the command line with your GitHub
account.
Initializing a new repository
Commits
Checkpoints/Snapshot of the state of your
repository (project) at a particular time.
Creating your first commit
Git Log
Add fruits.txt
Add Apples
Add Oranges
5bc86ce4
54545cd
9dc86ce4
HEAD
Add Grapes
767eb34
Downloading/Updating repos
Git Good!
Working with GitHub and
fundamentals of Git 101.
Get your Student Developer Pack
Professional Tools For Free.
Thanks!
Any Question?
• houarizegai14@gmail.com
• Social media: Houari Zegai
Contact:

Introduction to Git and Github