SlideShare a Scribd company logo
Experiment No. 2
To understand Version Control System / Source Code Management, install git and create a
GitHub account and Explore Git and GitHub commands
Description:-
To understand Version Control System (VCS) or Source Code Management (SCM), you can follow
these steps to install Git and create a GitHub account:
1. Install Git:
- Visit the official Git website at https://git-scm.com/.
- Download the appropriate installer for your operating system (Windows, macOS, or Linux).
- Run the installer and follow the instructions to complete the installation process.
2. Create a GitHub account:
- Visit the GitHub website at https://github.com/.
- Click on the "Sign up" button.
- Provide the required information, including your username, email address, and password.
- Choose a plan (you can start with the free plan).
- Complete the account creation process by following the on-screen instructions.
Once you have installed Git and created a GitHub account, you can start using Git for version control
and GitHub as a remote repository for your projects. This will allow you to track changes, collaborate
with others, and manage your source code effectively.
Explore Git and GitHub commands
DESCRIPTION:
Git and GitHub are two of the most popular tools used for version control and collaboration in
software development.
Here are some common Git and GitHub commands:
• Initializing a Git repository: $ git init
• Checking the status of your repository: $ git status
• Adding files to the stage: $ git add
• Committing changes: $ git commit -m "commit message"
• Checking the commit history: $ git log
• Undoing changes: $ git checkout
• Creating a new branch: $ git branch
• Switching to a different branch: $ git checkout
• Merging two branches: $ git merge
• Pushing changes to a remote repository: $ git push origin
• Cloning a repository from GitHub: $ git clone
• Creating a pull request on GitHub: Go to the repository on GitHub, select the branch you want to
merge and click the "New pull request" button.
These are just a few of the many Git and GitHub commands available. There are many other Git
commands and functionalities that you can explore to suit your needs.

More Related Content

Similar to DevOps Expt 2.pdf (20)

PPTX
Introduction to git and Github
Wycliff1
 
PPTX
Git and GitHub (1).pptx
BetelAddisu
 
PPTX
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
PPTX
Git ritesh venture_pact
riteshtandon23
 
PDF
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST
 
PDF
Introduction-to-Git-Github-andWorshop.pdf
SwasKare
 
PPTX
GitHub_Sharing_Session_1_GitHub_Sharing_Session.pptx
WaiYanKyaw28
 
PPTX
GITHappens, powerpoint about git and github
alidor4702
 
PPT
Git is a distributed version control system .
HELLOWorld889594
 
PDF
Github and Git What the fuck is this shit .pdf
krishna50blogging
 
PPTX
GIT & Github introduction for beginners
riteshsingh3651
 
PPTX
Git and GitHub Presentation of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
Git and GitHub workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
Git and GitHub Workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
tech winter break workshop on git &git hub.pptx
ashishraulin
 
PPTX
Git and GitHub Workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
Git and GitHub
Priya Nayak
 
PPTX
Introduction to git and github
Aderemi Dadepo
 
PDF
Starting with Git & GitHub
Nicolás Tourné
 
PPTX
Introduction to Git and GitHub Part 1
Omar Fathy
 
Introduction to git and Github
Wycliff1
 
Git and GitHub (1).pptx
BetelAddisu
 
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
Git ritesh venture_pact
riteshtandon23
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST
 
Introduction-to-Git-Github-andWorshop.pdf
SwasKare
 
GitHub_Sharing_Session_1_GitHub_Sharing_Session.pptx
WaiYanKyaw28
 
GITHappens, powerpoint about git and github
alidor4702
 
Git is a distributed version control system .
HELLOWorld889594
 
Github and Git What the fuck is this shit .pdf
krishna50blogging
 
GIT & Github introduction for beginners
riteshsingh3651
 
Git and GitHub Presentation of GDG on Campus UNSTPB
AmaraCostachiu
 
Git and GitHub workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
Git and GitHub Workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
tech winter break workshop on git &git hub.pptx
ashishraulin
 
Git and GitHub Workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
Git and GitHub
Priya Nayak
 
Introduction to git and github
Aderemi Dadepo
 
Starting with Git & GitHub
Nicolás Tourné
 
Introduction to Git and GitHub Part 1
Omar Fathy
 

More from SomnathMule5 (18)

PDF
software engineering unit 3 chapter1-190805164730.pdf
SomnathMule5
 
PPTX
computer organization and architecture notes
SomnathMule5
 
PPTX
chapter2-softwareprocessmodels-190805164811.pptx
SomnathMule5
 
PPTX
Mobile communication Mobile Networking.pptx
SomnathMule5
 
PDF
Mobile communication and computing GSM protocol stack and frame formatting.pdf
SomnathMule5
 
PDF
Mobile communication and computing gsm-radio-interface-140720014203-phpapp02.pdf
SomnathMule5
 
PDF
Mobile communication and computing presentation-161102173611.pdf
SomnathMule5
 
PPT
Mobile communication and computing gprs.ppt
SomnathMule5
 
PPT
Mbile communication and computingGSM Network.ppt
SomnathMule5
 
PPT
Mobile Communication gsm_introduction.ppt
SomnathMule5
 
PPTX
Eliminating ^ production and Unit Production from a CFG.pptx
SomnathMule5
 
PPTX
Improving machine learning models unit 5.pptx
SomnathMule5
 
PPTX
Software requirement specification Unit 3.pptx
SomnathMule5
 
PPT
unit 3 software requirement and analysis-1.ppt
SomnathMule5
 
PPTX
software engineering Architecture and design Unit 3.pptx
SomnathMule5
 
PPT
software engineering CSE675_01_Introduction.ppt
SomnathMule5
 
PDF
Engineering economics and Management Unit-2.pdf
SomnathMule5
 
PDF
DevOps Expt 1.pdf
SomnathMule5
 
software engineering unit 3 chapter1-190805164730.pdf
SomnathMule5
 
computer organization and architecture notes
SomnathMule5
 
chapter2-softwareprocessmodels-190805164811.pptx
SomnathMule5
 
Mobile communication Mobile Networking.pptx
SomnathMule5
 
Mobile communication and computing GSM protocol stack and frame formatting.pdf
SomnathMule5
 
Mobile communication and computing gsm-radio-interface-140720014203-phpapp02.pdf
SomnathMule5
 
Mobile communication and computing presentation-161102173611.pdf
SomnathMule5
 
Mobile communication and computing gprs.ppt
SomnathMule5
 
Mbile communication and computingGSM Network.ppt
SomnathMule5
 
Mobile Communication gsm_introduction.ppt
SomnathMule5
 
Eliminating ^ production and Unit Production from a CFG.pptx
SomnathMule5
 
Improving machine learning models unit 5.pptx
SomnathMule5
 
Software requirement specification Unit 3.pptx
SomnathMule5
 
unit 3 software requirement and analysis-1.ppt
SomnathMule5
 
software engineering Architecture and design Unit 3.pptx
SomnathMule5
 
software engineering CSE675_01_Introduction.ppt
SomnathMule5
 
Engineering economics and Management Unit-2.pdf
SomnathMule5
 
DevOps Expt 1.pdf
SomnathMule5
 
Ad

Recently uploaded (20)

PPTX
00-ClimateChangeImpactCIAProcess_PPTon23.12.2024-ByDr.VijayanGurumurthyIyer1....
praz3
 
PPTX
Fluid statistics and Numerical on pascal law
Ravindra Kolhe
 
PPTX
Precedence and Associativity in C prog. language
Mahendra Dheer
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PPTX
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
PDF
Irrigation Project Report, CTEVT, Diploma in Civil engineering
civilhack22
 
PPTX
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
PPTX
Online Cab Booking and Management System.pptx
diptipaneri80
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
PDF
Introduction to Robotics Mechanics and Control 4th Edition by John J. Craig S...
solutionsmanual3
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PPTX
Ground improvement techniques-DEWATERING
DivakarSai4
 
PDF
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
PPTX
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PDF
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
PPTX
Unit 2 Theodolite and Tachometric surveying p.pptx
satheeshkumarcivil
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PDF
Farm Machinery and Equipments Unit 1&2.pdf
prabhum311
 
PPTX
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
00-ClimateChangeImpactCIAProcess_PPTon23.12.2024-ByDr.VijayanGurumurthyIyer1....
praz3
 
Fluid statistics and Numerical on pascal law
Ravindra Kolhe
 
Precedence and Associativity in C prog. language
Mahendra Dheer
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
Irrigation Project Report, CTEVT, Diploma in Civil engineering
civilhack22
 
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
Online Cab Booking and Management System.pptx
diptipaneri80
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
Introduction to Robotics Mechanics and Control 4th Edition by John J. Craig S...
solutionsmanual3
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
Ground improvement techniques-DEWATERING
DivakarSai4
 
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
Unit 2 Theodolite and Tachometric surveying p.pptx
satheeshkumarcivil
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
Farm Machinery and Equipments Unit 1&2.pdf
prabhum311
 
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
Ad

DevOps Expt 2.pdf

  • 1. Experiment No. 2 To understand Version Control System / Source Code Management, install git and create a GitHub account and Explore Git and GitHub commands Description:- To understand Version Control System (VCS) or Source Code Management (SCM), you can follow these steps to install Git and create a GitHub account: 1. Install Git: - Visit the official Git website at https://git-scm.com/. - Download the appropriate installer for your operating system (Windows, macOS, or Linux).
  • 2. - Run the installer and follow the instructions to complete the installation process.
  • 3. 2. Create a GitHub account: - Visit the GitHub website at https://github.com/. - Click on the "Sign up" button. - Provide the required information, including your username, email address, and password. - Choose a plan (you can start with the free plan). - Complete the account creation process by following the on-screen instructions. Once you have installed Git and created a GitHub account, you can start using Git for version control and GitHub as a remote repository for your projects. This will allow you to track changes, collaborate with others, and manage your source code effectively. Explore Git and GitHub commands DESCRIPTION: Git and GitHub are two of the most popular tools used for version control and collaboration in software development. Here are some common Git and GitHub commands: • Initializing a Git repository: $ git init • Checking the status of your repository: $ git status • Adding files to the stage: $ git add
  • 4. • Committing changes: $ git commit -m "commit message" • Checking the commit history: $ git log • Undoing changes: $ git checkout • Creating a new branch: $ git branch • Switching to a different branch: $ git checkout • Merging two branches: $ git merge • Pushing changes to a remote repository: $ git push origin • Cloning a repository from GitHub: $ git clone • Creating a pull request on GitHub: Go to the repository on GitHub, select the branch you want to merge and click the "New pull request" button. These are just a few of the many Git and GitHub commands available. There are many other Git commands and functionalities that you can explore to suit your needs.