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

PPTX
Introduction to git and github
PDF
introductiontogitandgithub-120702044048-phpapp01.pdf
PPTX
Git and GitHub workshop of GDG on Campus UNSTPB
PPT
GIT By Sivakrishna
PPTX
Git and GitHub Presentation of GDG on Campus UNSTPB
PPTX
Git and GitHub Workshop of GDG on Campus UNSTPB
PPTX
Git and GitHub Workshop of GDG on Campus UNSTPB
PPTX
Introduction to git and Github
Introduction to git and github
introductiontogitandgithub-120702044048-phpapp01.pdf
Git and GitHub workshop of GDG on Campus UNSTPB
GIT By Sivakrishna
Git and GitHub Presentation of GDG on Campus UNSTPB
Git and GitHub Workshop of GDG on Campus UNSTPB
Git and GitHub Workshop of GDG on Campus UNSTPB
Introduction to git and Github

Similar to DevOps Expt 2.pdf (20)

PPT
Github By Nyros Developer
PPTX
Version control
PDF
Brief tutorial on Git
PPTX
Setting up Git.pptx
PPTX
Git first contributions
PPTX
GIT & Github introduction for beginners
PPTX
14 oct Git & GitHub.pptx
PPTX
Using Git to Organize Your Project
ODP
Git presentation
PDF
Legal Analytics Course - Class #4 - Github and RMarkdown Tutorial - Professor...
PPTX
Git & Github
PDF
Git Hub Platform
PDF
Git and Github slides.pdf
PDF
Git and Github workshop ppt slide by slide
PDF
Essential Git and Github commands
PPT
Git installation and configuration
PPTX
Beginner's guide to git and github
PPTX
Git and git hub basics
PPTX
Version control git day02
PPTX
GitHub_For_Beginners_Presentationss.pptx
Github By Nyros Developer
Version control
Brief tutorial on Git
Setting up Git.pptx
Git first contributions
GIT & Github introduction for beginners
14 oct Git & GitHub.pptx
Using Git to Organize Your Project
Git presentation
Legal Analytics Course - Class #4 - Github and RMarkdown Tutorial - Professor...
Git & Github
Git Hub Platform
Git and Github slides.pdf
Git and Github workshop ppt slide by slide
Essential Git and Github commands
Git installation and configuration
Beginner's guide to git and github
Git and git hub basics
Version control git day02
GitHub_For_Beginners_Presentationss.pptx
Ad

More from SomnathMule5 (18)

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

Recently uploaded (20)

PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Construction Project Organization Group 2.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
web development for engineering and engineering
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Welding lecture in detail for understanding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
composite construction of structures.pdf
PPTX
Geodesy 1.pptx...............................................
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
DOCX
573137875-Attendance-Management-System-original
PDF
Well-logging-methods_new................
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Lecture Notes Electrical Wiring System Components
Construction Project Organization Group 2.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
web development for engineering and engineering
CYBER-CRIMES AND SECURITY A guide to understanding
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Welding lecture in detail for understanding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
composite construction of structures.pdf
Geodesy 1.pptx...............................................
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Internet of Things (IOT) - A guide to understanding
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
CH1 Production IntroductoryConcepts.pptx
573137875-Attendance-Management-System-original
Well-logging-methods_new................
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd

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.