Version Control
Git's creator
Git tree
Master branch
Master branch
Other branch
Branch 1
Master branch
Branches
Master branch
Branch 1
Branch 2
Branch 3
Branch 5
Branch 6
Branch 7
Branch 8
Branches
Branch 1
Branch 2
Branch 3
Branch 5
Branch 6
Branch 7
Branch 8
Master branch
Commits
commit
Creating the tree
Master branch
commit A
Creating the tree
Master branch
commit A
commit B
Inside a commit
Master branch
commit c57012a...
(hash)
Author
Date/Time (timestamp)
Description
Files changed
Detailed changes
commit B
commit A
Branch's head
Master branch
HEAD
New branch
Master branch
HEAD
branch red
Independent evolution
Master branch
branch red
HEAD
HEAD
Independent evolution
Master branch
branch red
HEAD
HEAD
Another branch from master
Master branch
branch red
HEAD
HEAD
branch blue
HEAD
Branch from branch
Master branch
branch red
HEAD
HEAD
branch blue
HEAD
branch purple
HEAD
Evolução independente
Master branch
branch red
HEAD
branch blue
HEAD
branch purple
HEAD
HEAD
Branch merge
Master branch
branch red
HEAD
branch blue
HEAD
branch purple
HEAD
HEAD
merge
Branch merge
Master branch
branch red
HEAD
branch blue
HEAD
branch purple
HEAD
HEAD
merge
merge
Remote repository
(github)
Local directory
Remote repository
(github)
git pull / git clone
Local directory
Staging (index)
git add
Remote repository
(github)
git pull / git clone
Local directory
Staging (index)
Local repository
git add
Remote repository
(github)
git pull / git clone
git commit
Local directory
Staging (index)
Local repository
git add
Remote repository
(github)
git pull / git clone
git commit
Remote repository
(github)
git push

[QaOps] Git explained | tree structure