SlideShare a Scribd company logo
1 of 25
INTRODUCTION TO GIT &
GITHUB
PRESENT BY
VINOTHINI KADAMBAVANASUNDARAM
Software Development Life Cycle
● SDLC process aims to produce high-quality software that meets
customer expectations.
● The system development should be complete in the pre-defined
time frame and cost.
● SDLC consists of a detailed plan which explains how to plan,
build, and maintain specific software.
● Every phase of the SDLC life cycle has its own process and
deliverables that feed into the next phase.
Some SDLC Methodologies
● Agile
● Lean
● Waterfall
● Iterative
● Spiral
● DevOps
Waterfall Model: What Is It and When Should You Use It?
● The Waterfall model is widely considered the oldest of the
structured SDLC methodologies.
● Straightforward approach: finish one phase, then move on to
the next. No going back.
● it’s easy to understand and simple to manage. But early
delays can throw off the entire project timeline.
Six Phases : Development Phase - Coding
Front End Developers
- UI / UX Designers ( HTML, CSS, JS, AJAX, ANGULAR JS)
Back End Developers
- Web developers ( JAVA, .NET, PHP)
DATABASE ADMINISTRATORS
- MYSQL, SQL, ORACLE
FULL STACK DEVELOPERS
Working Environment : Pros and Cons
- When multiple peoples are working simultaneously, we could able to
complete the project on time or before that time. But we require centralized
server to maintain the data. Small organizations can’t afford to buy.
- We might end with multiple versions of files instead of a single file. Some
conflicts are might destroy the entire module or project.
- We couldn’t able to predict the unexpected situations such as OS crash,
Hardware failures, uninterrupted power supplies, etc. Due to these situations
we might loss the entire data.
What is the Solution? : For Individuals & Team
- Need a log kind a system which is tracking our file level changes on that
project.
- Here, Git plays a important role as a Version Control System.
- It Keeps every changes like create, edit, delete, moving, etc.
- While working as a team, we requires a central repository.
- Here GitHub helps us to store our codes. That’s the reason it is called as
Repositories.
Git and GitHub
- Basically Git is a software, we requires it on our local system. To download
the Git use the below link:
- https://git-scm.com/downloads
- GitHub is US based IT service company which is acquired by Microsoft in
2018. They offered a memory or space as repositories to store and manage
our code on the cloud for access from anywhere and anybody. Based upon
the preferences, they provide public and private repositories.
- https://github.com/
Why for Individuals? And How it helps?
- Open source & Community contributions.
- Learners might find some projects for their learnings.
- Working Professionals can share the codes.
- Show your works on the interviews.
- Depending upon the fields and services, it’s usage is different.
Other Repositories : Bit Bucket and GitLab
Live Demo
● Git Installation and Configure
● Creating a sample project in local
● Creating a repo in GitHub & Connecting with Local
Git Installation
● After installation, To verify the Git in Local. Check the command git --version
in Command prompt.
● If it doesn’t work on your system, you have to configure the environment
variable.
Configure Git
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Creating a sample project in Local
git init
git status -s
git add <filename.ext> or git add .
git diff
git commit -m “<message>” or git commit -am “<message>”
git config --list
git log
Creating a repo in GitHub & Connecting
- Create a account in Github.
- Create a repository in your account.
- Get the HTTPS URL of the repository.
git remote add origin <REPO_URL>
git push origin master [ --force | -f]
Multiple User Environment : PULL
- PULL is just a opposite action of PUSH.
- When you are working as a team in a git installed projects. Before push
something to the remote repository, you must execute the pull command.
- Meanwhile any of your team member if they push there’s changes, you will
get some updates on the files.
git pull origin master
What is Master? : Git Flow
Master
Develop
Feature_1 Feature_2 Feature_3 ……….. Feature_n
Release
V1.0 V2.0 V3.0………...Vn.0
Hotfix
Git Flow : Some terminology
- Clone
- Branch
- Checkout
- Merge
- Stash
- Reset
- Conflicts
Advanced Git Commands
Clone the remote repo - git clone <REPO_URL>
git clone <REPO_URL> .
Creating a new branch - git branch <branch_name>
Switch to a branch - git checkout <branch_name>
Merge the branches - git merge <source_branch> <target_branch>
For Further Contact
vinothini.kj@gmail.com
https://www.linkedin.com/in/vinothinik/
https://t.me/joinchat/NdkUYB0YPQYP0i0E8Be22
w
Introduction to git & github

More Related Content

What's hot

What's hot (20)

Java Networking
Java NetworkingJava Networking
Java Networking
 
Multithreading in java
Multithreading in javaMultithreading in java
Multithreading in java
 
Core java
Core java Core java
Core java
 
java Cookies
java Cookiesjava Cookies
java Cookies
 
Files in java
Files in javaFiles in java
Files in java
 
Intro to kotlin
Intro to kotlinIntro to kotlin
Intro to kotlin
 
.Net framework
.Net framework.Net framework
.Net framework
 
Java Beans
Java BeansJava Beans
Java Beans
 
Resource Monitoring
Resource MonitoringResource Monitoring
Resource Monitoring
 
Java applet - java
Java applet - javaJava applet - java
Java applet - java
 
Handling I/O in Java
Handling I/O in JavaHandling I/O in Java
Handling I/O in Java
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
 
Time Sensitive Networking in the Linux Kernel
Time Sensitive Networking in the Linux KernelTime Sensitive Networking in the Linux Kernel
Time Sensitive Networking in the Linux Kernel
 
Java variable types
Java variable typesJava variable types
Java variable types
 
Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
 
Android Storage - Vold
Android Storage - VoldAndroid Storage - Vold
Android Storage - Vold
 
Applets
AppletsApplets
Applets
 
Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET Framework
 
Simple xml in .net
Simple xml in .netSimple xml in .net
Simple xml in .net
 
Java Programming Paradigms Chapter 1
Java Programming Paradigms Chapter 1 Java Programming Paradigms Chapter 1
Java Programming Paradigms Chapter 1
 

Similar to Introduction to git & github

Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and GithubWycliff1
 
Open up your platform with Open Source and GitHub
Open up your platform with Open Source and GitHubOpen up your platform with Open Source and GitHub
Open up your platform with Open Source and GitHubScott Graham
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxAbelPhilipJoseph
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing selfChen-Tien Tsai
 
Introduction to Git for Network Engineers (Lab Guide)
Introduction to Git for Network Engineers (Lab Guide)Introduction to Git for Network Engineers (Lab Guide)
Introduction to Git for Network Engineers (Lab Guide)Joel W. King
 
Optimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarOptimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarCollabNet
 
2015-ghci-presentation-git_gerritJenkins_final
2015-ghci-presentation-git_gerritJenkins_final2015-ghci-presentation-git_gerritJenkins_final
2015-ghci-presentation-git_gerritJenkins_finalMythri P K
 
Introduction to git administration
Introduction to git administrationIntroduction to git administration
Introduction to git administrationShawn Doyle
 
You're doing it wrong! Git it right!
You're doing it wrong! Git it right!You're doing it wrong! Git it right!
You're doing it wrong! Git it right!Cory Webb
 
How to plan and define your CI-CD pipeline
How to plan and define your CI-CD pipelineHow to plan and define your CI-CD pipeline
How to plan and define your CI-CD pipelineElasTest Project
 
BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersMartin Jinoch
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.WordCamp Harare
 

Similar to Introduction to git & github (20)

Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Open up your platform with Open Source and GitHub
Open up your platform with Open Source and GitHubOpen up your platform with Open Source and GitHub
Open up your platform with Open Source and GitHub
 
Git workshop
Git workshopGit workshop
Git workshop
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
 
Git
GitGit
Git
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
 
Introduction to Git for Network Engineers (Lab Guide)
Introduction to Git for Network Engineers (Lab Guide)Introduction to Git for Network Engineers (Lab Guide)
Introduction to Git for Network Engineers (Lab Guide)
 
GIT from n00b
GIT from n00bGIT from n00b
GIT from n00b
 
Optimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarOptimize Your Enterprise Git Webinar
Optimize Your Enterprise Git Webinar
 
2015-ghci-presentation-git_gerritJenkins_final
2015-ghci-presentation-git_gerritJenkins_final2015-ghci-presentation-git_gerritJenkins_final
2015-ghci-presentation-git_gerritJenkins_final
 
Introduction to git administration
Introduction to git administrationIntroduction to git administration
Introduction to git administration
 
You're doing it wrong! Git it right!
You're doing it wrong! Git it right!You're doing it wrong! Git it right!
You're doing it wrong! Git it right!
 
How to plan and define your CI-CD pipeline
How to plan and define your CI-CD pipelineHow to plan and define your CI-CD pipeline
How to plan and define your CI-CD pipeline
 
Lets git to it
Lets git to itLets git to it
Lets git to it
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
 
GitHub Event.pptx
GitHub Event.pptxGitHub Event.pptx
GitHub Event.pptx
 
Github By Nyros Developer
Github By Nyros DeveloperGithub By Nyros Developer
Github By Nyros Developer
 
BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes Developers
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 

Introduction to git & github

  • 1. INTRODUCTION TO GIT & GITHUB PRESENT BY VINOTHINI KADAMBAVANASUNDARAM
  • 2. Software Development Life Cycle ● SDLC process aims to produce high-quality software that meets customer expectations. ● The system development should be complete in the pre-defined time frame and cost. ● SDLC consists of a detailed plan which explains how to plan, build, and maintain specific software. ● Every phase of the SDLC life cycle has its own process and deliverables that feed into the next phase.
  • 3. Some SDLC Methodologies ● Agile ● Lean ● Waterfall ● Iterative ● Spiral ● DevOps
  • 4. Waterfall Model: What Is It and When Should You Use It? ● The Waterfall model is widely considered the oldest of the structured SDLC methodologies. ● Straightforward approach: finish one phase, then move on to the next. No going back. ● it’s easy to understand and simple to manage. But early delays can throw off the entire project timeline.
  • 5.
  • 6. Six Phases : Development Phase - Coding Front End Developers - UI / UX Designers ( HTML, CSS, JS, AJAX, ANGULAR JS) Back End Developers - Web developers ( JAVA, .NET, PHP) DATABASE ADMINISTRATORS - MYSQL, SQL, ORACLE FULL STACK DEVELOPERS
  • 7. Working Environment : Pros and Cons - When multiple peoples are working simultaneously, we could able to complete the project on time or before that time. But we require centralized server to maintain the data. Small organizations can’t afford to buy. - We might end with multiple versions of files instead of a single file. Some conflicts are might destroy the entire module or project. - We couldn’t able to predict the unexpected situations such as OS crash, Hardware failures, uninterrupted power supplies, etc. Due to these situations we might loss the entire data.
  • 8.
  • 9. What is the Solution? : For Individuals & Team - Need a log kind a system which is tracking our file level changes on that project. - Here, Git plays a important role as a Version Control System. - It Keeps every changes like create, edit, delete, moving, etc. - While working as a team, we requires a central repository. - Here GitHub helps us to store our codes. That’s the reason it is called as Repositories.
  • 10. Git and GitHub - Basically Git is a software, we requires it on our local system. To download the Git use the below link: - https://git-scm.com/downloads - GitHub is US based IT service company which is acquired by Microsoft in 2018. They offered a memory or space as repositories to store and manage our code on the cloud for access from anywhere and anybody. Based upon the preferences, they provide public and private repositories. - https://github.com/
  • 11.
  • 12.
  • 13. Why for Individuals? And How it helps? - Open source & Community contributions. - Learners might find some projects for their learnings. - Working Professionals can share the codes. - Show your works on the interviews. - Depending upon the fields and services, it’s usage is different.
  • 14. Other Repositories : Bit Bucket and GitLab
  • 15. Live Demo ● Git Installation and Configure ● Creating a sample project in local ● Creating a repo in GitHub & Connecting with Local
  • 16. Git Installation ● After installation, To verify the Git in Local. Check the command git --version in Command prompt. ● If it doesn’t work on your system, you have to configure the environment variable. Configure Git git config --global user.email "you@example.com" git config --global user.name "Your Name"
  • 17. Creating a sample project in Local git init git status -s git add <filename.ext> or git add . git diff git commit -m “<message>” or git commit -am “<message>” git config --list git log
  • 18. Creating a repo in GitHub & Connecting - Create a account in Github. - Create a repository in your account. - Get the HTTPS URL of the repository. git remote add origin <REPO_URL> git push origin master [ --force | -f]
  • 19. Multiple User Environment : PULL - PULL is just a opposite action of PUSH. - When you are working as a team in a git installed projects. Before push something to the remote repository, you must execute the pull command. - Meanwhile any of your team member if they push there’s changes, you will get some updates on the files. git pull origin master
  • 20. What is Master? : Git Flow Master Develop Feature_1 Feature_2 Feature_3 ……….. Feature_n Release V1.0 V2.0 V3.0………...Vn.0 Hotfix
  • 21. Git Flow : Some terminology - Clone - Branch - Checkout - Merge - Stash - Reset - Conflicts
  • 22. Advanced Git Commands Clone the remote repo - git clone <REPO_URL> git clone <REPO_URL> . Creating a new branch - git branch <branch_name> Switch to a branch - git checkout <branch_name> Merge the branches - git merge <source_branch> <target_branch>
  • 23.