0% found this document useful (0 votes)
34 views21 pages

GIT AND GITHUBppt

Git and Github

Uploaded by

patiltanishka012
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)
34 views21 pages

GIT AND GITHUBppt

Git and Github

Uploaded by

patiltanishka012
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/ 21

GIT AND GITHUB

GIT & GITHUB TOPIC PRESENTATED BY PATIL TANISHKA


20XX

Small Intro About Hello, I am Tanishka Patil from Nashik I have


completed my diploma with 74% From Sandip
My Self Polytechnic ,Nashik side by side I Have
completed 1.5 years of Experience in Digital
Marketing and 6 months of experience in
Empower Yourself, Embrace Change. Counselling

Presentation Title 2
20XX

This slide are Divided into Two Parts:-


1.GIT
2.GITHUB 3
Agenda of Today’s Topics 20XX

• What is GIT
• GIT Directory Structure & State Operation
• GIT Commits
• GIT most Common Commands
• What is GITHUB
• NEED OF GITHUB
• GITHUB ACCOUNT Creation
• How We create a GITHUB Repository
• Basic GITHUB Commands

Presentation Title 4
What is GIT
20XX

• Git is a distributed version control system designed to track changes in files,


primarily used for managing source code during software development.

• Created by Linus Torvalds in 2005 for the Linux kernel, Git allows multiple developers to collaborate
on projects efficiently by enabling them to work on their own local copies of a repository, which
includes the entire history of changes.

Presentation Title 5
GIT Directory Structure
20XX

•.git Directory
•objects/ Folder
•refs/ Folder
•Subdirectories include:
•heads/: Stores branches.
•tags/: Stores tags.
•remotes/: Contains references to remote branches.
•config File
•HEAD File
•index File
•logs/ Folder
•hooks/ Folder

Presentation Title 6
GIT COMMITS
20XX

Presentation Title 7
20XX

GIT MOST COMMON COMMANDS

1.git init
2.git clone
3.git add
4.git commit
5.git status
6.git push
7.git pull
8.git branch
9.git checkout
10.git merge
11.git log
Presentation Title 8
12.git remote -v
What is GITHUB
20XX

GitHub is a web-based platform designed for version control and collaboration among
software developers. It allows users to store, manage, and share code repositories, leveraging
Git, the underlying version control system created by Linus Torvalds.

GitHub is a web-based platform that allows developers to host, share, and collaborate on code. It
uses Git, a version control system that tracks changes in files, making it easier for multiple people
to work on projects simultaneously. GitHub provides features like issue tracking, project
management tools, and a social network for developers, enabling them to contribute to open-
source projects, manage their own repositories, and collaborate with others. It's widely used in
both individual and team projects across various programming languages.

Presentation Title 9
Needs of GITHUB
20XX

• Version Control: GitHub allows users to track changes in their code over time, making it easy to revert to
previous versions and understand the history of a project.
• Collaboration: Multiple developers can work on the same project simultaneously, with features for merging
changes and resolving conflicts.
• Code Sharing: Users can easily share their code with others, whether for collaboration or open-source
contributions.
• Project Management: GitHub provides tools like issues, project boards, and milestones to help teams
organize and prioritize their work.
• Documentation: Developers can create and maintain documentation directly alongside their code using
README files and wikis.
• Community Engagement: GitHub enables users to contribute to open-source projects, engage with other
developers, and build a network.
• Continuous Integration/Continuous Deployment (CI/CD): GitHub integrates with various CI/CD tools,
automating testing and deployment processes.
• Security Features: GitHub offers security scanning, dependency management, and access controls to help
10
protect code and sensitive information.
HOW WE CREATE A
ACCOUT IN GITHUB
STEP BY STEP GUIDE
Open https://github.com/join in a web browser.

Presentation Title 12
2.Fill in the following information:
Username
This is a unique, personal username for yourself and can be
whatever you like, as long as it is not already taken by someone
else on GitHub.com.
It will be visible to the public.
If you do not know what to use, just add “NIH” to the end of
your NIH account name (e.g. usernameXYZ).
Email address
Use your NIH email address, ideally the [email protected]
format.
Password
Your password needs to be unique to GitHub.com.
Please choose a secure, memorable password.
As you type your password into the field, it will be obscured for
security reasons.
3.Once you have an entered an available username, valid email address,
and acceptable password, click on the “Create account” button.
4.The page will verify that you are a human and not a robot.
5.Next, GitHub will send you an email to the address you registered. You
must go to your email and validate it as instructed.
Presentation Title 13
6.Open the email with a subject line stating “[EXTERNAL] 🚀 Your GitHub launch code”

Presentation Title 14
7.Provide the code in the GitHub.com prompt from earlier.
8.GitHub would now like to know a little more about you as a user. Please select the information that
best describes you and select “Complete Setup” at the bottom of the page or use the “Skip
personalization” option.

Presentation Title 15
How We create a GITHUB Repository

In the upper-right corner of any page, select , Type a short, memorable name for your repository. For example,
then click New repository. "hello-world".

3.Optionally, add a description of your repository. For example,


"My first repository on GitHub."
4.Choose a repository visibility. For more information, see "
About repositories."
5.Select Initialize this repository with a README.
6.Click Create repository.
Presentation Title 16
BASICS COMMANDS
FOR GITHUB
1.git init:
Initializes a new Git repository.
2.git clone <repository-url>:
Creates a local copy of a remote repository.
3.git status:
Displays the state of the working directory and staging area.
4.git add <file>:
Stages changes to be included in the next commit.
5.git commit -m "<message>":
Records staged changes in the repository with a message.
6.git push <remote> <branch>:
Uploads local commits to a remote repository branch.
7.git pull <remote> <branch>:
Fetches and merges changes from the remote repository into the current branch.
8.git branch:
Lists all branches in the repository or creates a new branch.
9.git checkout <branch>:
Switches to another branch or restores working tree files.
10.git merge <branch>:
Merges changes from the specified branch into the current branch.
11.git log:
Shows the commit history for the repository.
12.git remote -v:
Displays the remote connections associated with the repository.
Presentation Title 19
20XX
THANK YOU !
Presented by Tanishka

You might also like