SlideShare a Scribd company logo
Git
Introduction to Version control
What is version control
Version control is a system that records changes to a file or set of files over
time so that you can recall specific versions later.
Or in simple terms
Version Control is simply keeping track of changes made to files.
What is Git
Git is a Open Source software program which is a Distributed Version Control
System and was created in 2005 by Linus Torvalds the creator the Linux
Operating System Kernel.
In other words Git helps you keep track of changes made to files and was
created by a very clever programmer.
Working Directory
The working directory is the place where you edit and make changes to your
files.
This would typically be a directory on your machine.
Staging area
The staging area is basically a loading dock where you get to determine what
changes get shipped away.
In other words you can tell git which files you made changes to.
Repository
A git repository is a central location in which data is stored and managed.
In other words the Git repository stores all your files and changes to those
files.
Create a empty git repository
git init
This command creates an empty Git repository
Check the status of your repository
git status
The git status command displays the state of the working directory.
It will show you the files being tracked by Git and whether those files has been
staged.
Add files to your git repository
The git add command adds a change in the working directory to the staging
area.
Before you can track any changes to your files you need to tell Git to add the
file to your repository and tell git which changes you want to track.
Commit your changes
The word commit means to make something permanent.
With Git it means taking a snapshot of the current version of your files.
It is always a good idea to add a commit message so you can later identify
your changes.
Ask me about the electronics example.
View your log
git log
To view all your commits you can use the git log command.
That’s it!
For now!

More Related Content

What's hot

Git Demo
Git DemoGit Demo
Git Demo
Anton Heuschen
 
git Versioning
git Versioninggit Versioning
git Versioning
SaravanaN Nagarajan
 
Git n git hub
Git n git hubGit n git hub
Git n git hub
Jiwon Baek
 
Git slide
Git slideGit slide
Version control system and Git
Version control system and GitVersion control system and Git
Version control system and Git
ramubonkuri
 
Git: a tool for wizards
Git: a tool for wizardsGit: a tool for wizards
Git: a tool for wizards
responseteam
 
Git the fast version control system
Git the fast version control systemGit the fast version control system
Git the fast version control system
Jeroen Rosenberg
 
Git commands
Git commandsGit commands
Git commands
Vivek Gupta
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
JasleenSondhi
 
Git undo
Git undoGit undo
Git undo
Avilay Parekh
 
Git commands
Git commandsGit commands
Git commands
Viyaan Jhiingade
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
Git - The Incomplete Introduction
Git - The Incomplete IntroductionGit - The Incomplete Introduction
Git - The Incomplete Introduction
rschwietzke
 
Intro to git
Intro to gitIntro to git
Intro to git
josh_cutler
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
Colin Su
 
Git slides
Git slidesGit slides
Git slides
Nguyen Van Hung
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
Safique Ahmed Faruque
 
Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013
Sunny Sharma
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
GhadiAlGhosh
 
Git Primer
Git PrimerGit Primer
Git Primer
Michael Pearce
 

What's hot (20)

Git Demo
Git DemoGit Demo
Git Demo
 
git Versioning
git Versioninggit Versioning
git Versioning
 
Git n git hub
Git n git hubGit n git hub
Git n git hub
 
Git slide
Git slideGit slide
Git slide
 
Version control system and Git
Version control system and GitVersion control system and Git
Version control system and Git
 
Git: a tool for wizards
Git: a tool for wizardsGit: a tool for wizards
Git: a tool for wizards
 
Git the fast version control system
Git the fast version control systemGit the fast version control system
Git the fast version control system
 
Git commands
Git commandsGit commands
Git commands
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
Git undo
Git undoGit undo
Git undo
 
Git commands
Git commandsGit commands
Git commands
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
 
Git - The Incomplete Introduction
Git - The Incomplete IntroductionGit - The Incomplete Introduction
Git - The Incomplete Introduction
 
Intro to git
Intro to gitIntro to git
Intro to git
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Git slides
Git slidesGit slides
Git slides
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
 
Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
 
Git Primer
Git PrimerGit Primer
Git Primer
 

Viewers also liked

Ajuda memória hosana
Ajuda memória   hosanaAjuda memória   hosana
Ajuda memória hosanaPelizari
 
Garage Roof Scotland
Garage Roof ScotlandGarage Roof Scotland
Garage Roof Scotland
Garage Roof Scotland
 
Mikael Bramstedt IBM and Multi Platform IT Architect_PM_PL_Infrastructure_Sys...
Mikael Bramstedt IBM and Multi Platform IT Architect_PM_PL_Infrastructure_Sys...Mikael Bramstedt IBM and Multi Platform IT Architect_PM_PL_Infrastructure_Sys...
Mikael Bramstedt IBM and Multi Platform IT Architect_PM_PL_Infrastructure_Sys...Mikael Bramstedt
 
Nuevas tecnologías de la información y la
Nuevas tecnologías de la información y laNuevas tecnologías de la información y la
Nuevas tecnologías de la información y ladaniellaguz
 
O Basico don failla
O Basico   don faillaO Basico   don failla
O Basico don failla
Leonilson Soares
 
DeclaracaoHistorico_1463604932489 - Contábeis
DeclaracaoHistorico_1463604932489 - ContábeisDeclaracaoHistorico_1463604932489 - Contábeis
DeclaracaoHistorico_1463604932489 - Contábeisalexaugustoalves
 
Renacimiento luisa, maria eugenia,yessica,maritza,emanuel
Renacimiento luisa, maria eugenia,yessica,maritza,emanuelRenacimiento luisa, maria eugenia,yessica,maritza,emanuel
Renacimiento luisa, maria eugenia,yessica,maritza,emanuelEmanuel Zapata
 
Registro de estrangeiros no Brasil
Registro de estrangeiros no BrasilRegistro de estrangeiros no Brasil
Registro de estrangeiros no Brasil
Laerte J Silva
 
Candidatura a jornadas_de_caça_zcm
Candidatura a jornadas_de_caça_zcmCandidatura a jornadas_de_caça_zcm
Candidatura a jornadas_de_caça_zcmdingobil
 
Notas definitivas 2º período 10 03
Notas definitivas 2º período   10 03Notas definitivas 2º período   10 03
Notas definitivas 2º período 10 03gloriainesmaipore
 
Cordero destellos
Cordero destellosCordero destellos
Cordero destellosEduardo
 
Орг-я процесса апробации программ по новым ФГОС МПУ 19_09_2016
Орг-я процесса апробации программ по новым ФГОС МПУ 19_09_2016Орг-я процесса апробации программ по новым ФГОС МПУ 19_09_2016
Орг-я процесса апробации программ по новым ФГОС МПУ 19_09_2016
Elena Breslav
 
Kopi Delft 13 Jan 2017
Kopi Delft 13 Jan 2017Kopi Delft 13 Jan 2017
Kopi Delft 13 Jan 2017
Agung Wahyudi
 
Subject pronouns
Subject pronounsSubject pronouns
Subject pronouns
Simone Giovanni Cardia
 

Viewers also liked (18)

CV_Mauricio_Domingues_2016_2.0
CV_Mauricio_Domingues_2016_2.0CV_Mauricio_Domingues_2016_2.0
CV_Mauricio_Domingues_2016_2.0
 
P14 portfolio
P14 portfolioP14 portfolio
P14 portfolio
 
Ajuda memória hosana
Ajuda memória   hosanaAjuda memória   hosana
Ajuda memória hosana
 
Notas 2º período 10 04
Notas 2º período 10 04Notas 2º período 10 04
Notas 2º período 10 04
 
Garage Roof Scotland
Garage Roof ScotlandGarage Roof Scotland
Garage Roof Scotland
 
Mikael Bramstedt IBM and Multi Platform IT Architect_PM_PL_Infrastructure_Sys...
Mikael Bramstedt IBM and Multi Platform IT Architect_PM_PL_Infrastructure_Sys...Mikael Bramstedt IBM and Multi Platform IT Architect_PM_PL_Infrastructure_Sys...
Mikael Bramstedt IBM and Multi Platform IT Architect_PM_PL_Infrastructure_Sys...
 
Nuevas tecnologías de la información y la
Nuevas tecnologías de la información y laNuevas tecnologías de la información y la
Nuevas tecnologías de la información y la
 
O Basico don failla
O Basico   don faillaO Basico   don failla
O Basico don failla
 
DeclaracaoHistorico_1463604932489 - Contábeis
DeclaracaoHistorico_1463604932489 - ContábeisDeclaracaoHistorico_1463604932489 - Contábeis
DeclaracaoHistorico_1463604932489 - Contábeis
 
Renacimiento luisa, maria eugenia,yessica,maritza,emanuel
Renacimiento luisa, maria eugenia,yessica,maritza,emanuelRenacimiento luisa, maria eugenia,yessica,maritza,emanuel
Renacimiento luisa, maria eugenia,yessica,maritza,emanuel
 
Registro de estrangeiros no Brasil
Registro de estrangeiros no BrasilRegistro de estrangeiros no Brasil
Registro de estrangeiros no Brasil
 
Hqclaudissea
HqclaudisseaHqclaudissea
Hqclaudissea
 
Candidatura a jornadas_de_caça_zcm
Candidatura a jornadas_de_caça_zcmCandidatura a jornadas_de_caça_zcm
Candidatura a jornadas_de_caça_zcm
 
Notas definitivas 2º período 10 03
Notas definitivas 2º período   10 03Notas definitivas 2º período   10 03
Notas definitivas 2º período 10 03
 
Cordero destellos
Cordero destellosCordero destellos
Cordero destellos
 
Орг-я процесса апробации программ по новым ФГОС МПУ 19_09_2016
Орг-я процесса апробации программ по новым ФГОС МПУ 19_09_2016Орг-я процесса апробации программ по новым ФГОС МПУ 19_09_2016
Орг-я процесса апробации программ по новым ФГОС МПУ 19_09_2016
 
Kopi Delft 13 Jan 2017
Kopi Delft 13 Jan 2017Kopi Delft 13 Jan 2017
Kopi Delft 13 Jan 2017
 
Subject pronouns
Subject pronounsSubject pronouns
Subject pronouns
 

Similar to Git 01

Git&GitHub.pptx
Git&GitHub.pptxGit&GitHub.pptx
Git&GitHub.pptx
KondiVenkatesh1
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
PRIYATHAMDARISI
 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
tnscharishma
 
Git introduction
Git introductionGit introduction
Git introduction
satyendrajaladi
 
git Introduction.pptx
git Introduction.pptxgit Introduction.pptx
git Introduction.pptx
PrakharYadav58
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
Yan Vugenfirer
 
Learning git
Learning gitLearning git
Learning git
Sid Anand
 
Introduction to Git.pptx
Introduction to Git.pptxIntroduction to Git.pptx
Introduction to Git.pptx
SiddhantBhardwaj26
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
Mithilesh Singh
 
github_gyan.pptx
github_gyan.pptxgithub_gyan.pptx
github_gyan.pptx
AyushSingh931502
 
Overview of git
Overview of gitOverview of git
Overview of git
Ravi Ganamukhi
 
Overview of git
Overview of gitOverview of git
Overview of git
Ravi Ganamukhi
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
Eshaan35
 
Git for the absolute beginners
Git for the absolute beginnersGit for the absolute beginners
Git for the absolute beginners
Gabriele Baldassarre
 
SessionThree_IntroductionToVersionControlSystems
SessionThree_IntroductionToVersionControlSystemsSessionThree_IntroductionToVersionControlSystems
SessionThree_IntroductionToVersionControlSystemsHellen Gakuruh
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx
HuthaifaAlmaqrami1
 
Do you git it
Do you git it Do you git it
Do you git it
Hridyesh Bisht
 
git KT .pptx
git KT .pptxgit KT .pptx
git KT .pptx
sumit583388
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with GitSahil Agarwal
 

Similar to Git 01 (20)

Git&GitHub.pptx
Git&GitHub.pptxGit&GitHub.pptx
Git&GitHub.pptx
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
 
Git introduction
Git introductionGit introduction
Git introduction
 
git Introduction.pptx
git Introduction.pptxgit Introduction.pptx
git Introduction.pptx
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Learning git
Learning gitLearning git
Learning git
 
Introduction to Git.pptx
Introduction to Git.pptxIntroduction to Git.pptx
Introduction to Git.pptx
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
 
github_gyan.pptx
github_gyan.pptxgithub_gyan.pptx
github_gyan.pptx
 
Overview of git
Overview of gitOverview of git
Overview of git
 
Overview of git
Overview of gitOverview of git
Overview of git
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
 
Git for the absolute beginners
Git for the absolute beginnersGit for the absolute beginners
Git for the absolute beginners
 
SessionThree_IntroductionToVersionControlSystems
SessionThree_IntroductionToVersionControlSystemsSessionThree_IntroductionToVersionControlSystems
SessionThree_IntroductionToVersionControlSystems
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
 
1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx
 
Do you git it
Do you git it Do you git it
Do you git it
 
git KT .pptx
git KT .pptxgit KT .pptx
git KT .pptx
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
 

Recently uploaded

Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 

Recently uploaded (20)

Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 

Git 01

  • 2. What is version control Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. Or in simple terms Version Control is simply keeping track of changes made to files.
  • 3. What is Git Git is a Open Source software program which is a Distributed Version Control System and was created in 2005 by Linus Torvalds the creator the Linux Operating System Kernel. In other words Git helps you keep track of changes made to files and was created by a very clever programmer.
  • 4. Working Directory The working directory is the place where you edit and make changes to your files. This would typically be a directory on your machine.
  • 5. Staging area The staging area is basically a loading dock where you get to determine what changes get shipped away. In other words you can tell git which files you made changes to.
  • 6. Repository A git repository is a central location in which data is stored and managed. In other words the Git repository stores all your files and changes to those files.
  • 7. Create a empty git repository git init This command creates an empty Git repository
  • 8. Check the status of your repository git status The git status command displays the state of the working directory. It will show you the files being tracked by Git and whether those files has been staged.
  • 9. Add files to your git repository The git add command adds a change in the working directory to the staging area. Before you can track any changes to your files you need to tell Git to add the file to your repository and tell git which changes you want to track.
  • 10. Commit your changes The word commit means to make something permanent. With Git it means taking a snapshot of the current version of your files. It is always a good idea to add a commit message so you can later identify your changes. Ask me about the electronics example.
  • 11. View your log git log To view all your commits you can use the git log command.