Click to edit Master title style
Learn Version Control System with Git and Github
Humaun Kabir
Academic Coordinator
Inter School and College Programming Contest, Prothom Alo
ihumaun.com
1
Click to edit Master title style
What is Git?
Git is a distributed version-control system for tracking changes in
source code during software development. It is designed for
coordinating work among programmers, but it can be used to track
c h a n g e s i n a n y s e t o f f i l e s . I t s g o a l s i n c l u d e s p e e d , d a t a i n t e g r i t y,
and support for distributed, non-linear workflows
2 2
Click to edit Master title style
What is Github?
G i t h u b i s t h e l a r g e s t c o m m u n i t y o f d e v e l o p e r s t o d i s c o v e r,
share, and build better software.
A web based git repository hosting service.
https://github.com
3 3
Click to edit Master title style
Use Case Scenario
(Listen to me, Thanks)
4 4
Click to edit Master title style
5 5
Click
Here to editthe
comes Master titleofstyle
necessity using Git
• You can imagine git as something that sits on top of your file system and
manipulates files.
• This “something” is a tree structure where each commit creates a new
node in that tree.
• Nearly all git commands actually serve to navigate on this tree and to
manipulate it
• The purpose of git is to manage a project, or a set of files, as they change
over time. Git stores this information in a data structure called a
repository
• A commit object mainly contains three things 6 6
Click to edit Master
Environment Setup:title
Git style
Download from here > Configuration Command
•$When
git config
you've --global
successfully
user.name
started
“yourName"
the installer, you should see
https://git-scm.com/downloads
• the Git Setup wizard
$ git config screen. Follow
--global user.email the Next and Finish prompts
“yourEmail"
to complete the installation. The default options are pretty
sensible for most users.
• Open a Command Prompt (or Git Bash if during installation you
elected not to use Git from the Windows Command Prompt).
• Run the following commands to configure your Git username and
email using the following commands, replacing Emma's name
with your own. These details will be associated with any commits
that you create:
7 7
ClickGet
Lets to edit Master
Started title
with style Line
Command
For most of the basic interactions with git you’ll mainly
• git
useinit
7 commands that we’ll cover here
• git clone
• git log
• git diff We will learn these commands and some
more commands while showing hands on git.
• git status
• git add
• git commit
8
Click to edit Master title style
9 9
Click to edit Master title style
Q and A
10
Click to edit Master title style
Resources will be mailed.
1111
Click to edit Master title style
Thank you!
1212