0% found this document useful (0 votes)
50 views13 pages

Final Presentation

This document provides an overview of Git and GitHub. It defines Git as a version control system that tracks changes to files and allows for collaboration. GitHub is described as a hosting service for Git repositories that provides a graphical web interface. The document outlines basic Git commands, provides a demo of using Git, and compares key differences between Git and GitHub such as Git being installed locally while GitHub is hosted online.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views13 pages

Final Presentation

This document provides an overview of Git and GitHub. It defines Git as a version control system that tracks changes to files and allows for collaboration. GitHub is described as a hosting service for Git repositories that provides a graphical web interface. The document outlines basic Git commands, provides a demo of using Git, and compares key differences between Git and GitHub such as Git being installed locally while GitHub is hosted online.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

GIT

GIT GITHUB

VS

• Vijaya Lakshmi Pavani Koppula

• 46281477

• JEE Cloud and Devops


Agenda
• What is Git?

• What is GitHub?

• Git Commands

• Git demo

• Git vs GitHub

03-01-2023 Agenda 2
What is Git?

 Git is a version control system for tracking changes in computer


files. It is used for coordinating work among several people on a
project and tracking progress over time.

 It is used for source code management in software development.

03-01-2023 What is Git 3


Version Control
System

It is a system that records all the


changes made to a file or set files,
so a specific version may be called
later if needed. This helps in
collaboration with all team
members.

03-01-2023 Version Control System 4


Git

 Git favors both programmers and non-technical users by keeping


track of their project files.

 It allows multiple users to work together.


 Large Projects can be handled efficiently.

03-01-2023 GIT 5
What is GitHub?
 GitHub is a Git repository
hosting service, which
provides a web-based
graphical interface.
 GitHub helps every team
member to work together
on the project from
anywhere and makes it
easy for them to
collaborate.

03-01-2023 What is GitHub 6


Git Commands
 Git config : Configure the username
and email address.

 Git add : Add one or more files to


staging area.

 Git diff : View the changes made to


the file.

 Git init : Initialize a local Git


repository.

 Git commit : Commit changes to


head but not to the remote
repository.
03-01-2023 Git Commands 7
Git Commands
 Git reset : Undo local changes to
the state of a Git repo.

 Git merge : Merge a branch into an


active branch.

 Git status : Displays the state of the


working directory and staging area.

 Git push : Upload content from


local repository to a remote
repository.

 Git pull : Fetch and download


content from a remote repository
03-01-2023 Git Commands 8
Git Demo

03-01-2023 Git Demo 9


Git Demo

03-01-2023 Git Demo 10


Git vs GitHub
GIT GITHUB

 Installed Locally on the system.  Hosted on the cloud.

Git can be used offline and does not need  GitHub cannot be used offline and needs
an internet connection for use. an internet connection.

 Git can be used without GitHub.  GitHub cannot be used without Git.

 It’s used for version control and code  It’s used for centralized source code
sharing. hosting.

03-01-2023 Git vs GitHub 11


Git vs GitHub
GIT GITHUB

 There is no GUI.  It provides an easy to use GUI.

 Code changes like commit, merge, etc.  Everything is done through a web-based
are done using commands from the interface.
command line.
 Includes a free and pay for use tiers.
 Open source licensed.

03-01-2023 Git vs GitHub 12


Thank You For Your Attention..!

03-01-2023 Thank You…! 13

You might also like