SlideShare a Scribd company logo
Git & GitHub
Workshop
Presented by-
GDSC Alliance University
and
GDSC UniKL
Agenda
1. Introduction by AU
2. Introduction by UniKL
3. Speech by Dr. Ratnakar Achary
4. What is Git(Alya)
5. Github account and CLI (Dewan & Saksham)
6. Creating a repo & cloning (Dhanush Suresh)
7. Changes in file, commit & push(Keerthana J)
------------------10 min break-------------
1. Branching (Pratham)
2. Forking and Pull Request(Dewan)
3. Vote of thanks(Sinchana)
------------------5 min break-------------
1. Quiz
1:00-1:05 pm
1:05-1:10 pm
1:10-1:20 pm
1:20-1:25 pm
1:25-1:40 pm
1:40-1:55 pm
1:55-2:10 pm
2:10-2:20 pm
2:20-2:40 pm
2:40-3:10 pm
3:10-3:15 pm
3:15-3:20 pm
3:20-3:30 pm
Alliance
University
Bengaluru, Karnataka, India
Our team
Our team
Dr. P. Mano Paul
Associate Professor
Universiti
Kuala
Lumpur
Kuala Lumpur, Malaysia
Core Team
Past Activities
Chapter’s Bevy Page
Speech by
Dr. Ratnakar
Achary
03
What is Git?
04
Git is a distributed version control system that tracks
changes in any set of computer files.
By- Alya
What is Git?
Git is a DevOps tool used for large source code management.
It is a free and open-source version control system used to
handle small to very projects efficiently. Git is used to tracking
changes in the source code, enabling multiple developers to
work together on non-linear development.
Git Features
● Tracks history
● Free and open source
● Supports non-linear development
● Creates backups
● Scalable
● Supports collaboration
● Branching is easier
● Distributed development
What is GitHub?
05
GitHub, Inc. is a platform and cloud-based service for
software development and version control using Git.
By- Dewan
Shakil
Github Account creation
● First go to github.com
● Click on Sign Up
● Now Enter your Email
● Create a strong password
● Do Verification and revisit the github’s official website
● Now click on sign in and sign in by the same email and password
What is Git CLI?
Git CLI (Command Line Interface) is a powerful tool for version
control:
● It allows users to manage and track changes in their
code or any set of files efficiently.
● With the Git CLI, users can perform various operations
such as creating repositories, staging changes,
committing modifications, branching, merging, and
interacting with remote repositories hosted on platforms
like GitHub, GitLab, or Bitbucket, all through text-based
commands in a terminal or command prompt.
By- Saksham Sharma
Installing Git CLI
In Mac OS, the terminal itself
can do everything and git is
pre-installed in mac. You can
also Install third party terminals
such as Hyper.is which will work
in every OS.
When you Install git it came
with a terminal called gitbash.
You can use any terminal that
you have on your computer
such as Command Prompt,
Powershell
Git Bash
(Windows)
Terminal
(Mac and Linux)
Basic Commands
for Git CLI
git config --global user.name "user_name”
The "git config --global user.name 'user_name'" command sets the global
username for Git, associating the provided 'user_name' with your commits
across all repositories.
git config --global user.email email
The "git config --global user.email email" command sets the global email
for Git, linking the specified 'email' with your commits across all repositories..
Basic command
for git CLI
git config --global init.default branch main
The "git config --global init.default branch main" command sets the default
branch name to 'main' when initializing new repositories globally in Git.
git config -h / git –-help
The git config -h command displays a brief summary of the git config
command and its usage options. It provides a quick reference for the config
command's basic functionality and how to use it.
Creating
a Repo &
Cloning
06
By- Dhanush Suresh
What is a Repository?
A repository, or repo, is a centralized
digital storage that developers use to
make and manage changes to an
application’s source code.
Developers have to store and share
folders, text files, and other types of
documents when developing
software. A repo has features that
allow developers to easily track code
changes, simultaneously edit files,
and efficiently collaborate on the
same project from any location.
Creating a Repository
STEP 1 STEP 2
Cloning a repo
Once The repository is created,you will get a
rectangle,once you create your repository
And then go to your terminal and type
git clone <the copied link>
Changes in file,
commit & push
-Keerthana J
07
Stages of a File
Let’s Commit
Step 1: Add a file to the staging
environment
git add <file>
Step 2: Create a commit
git commit -m "Your message about the
commit"
Pushhhhh!
git push is most commonly used to publish an upload local changes to a central repository.
git push origin main
Too much to handle?
Let’s chill for 10 mins
Branching
● Branching in Git, including GitHub, is a
powerful feature that allows developers
to work on different aspects of a project.
● Simultaneously, experiment with new
features, and maintain a clean and
organized version history.
08
Creating a Branch:
1. Local Branch
● To create a new branch locally, use the
following command in your Git repository:
Code: git checkout -b new_branch_name
1. Remote Branch (GitHub):
● After creating a local branch, you can push it to
GitHub to make it available remotely:
Code: git push origin new_branch_name
Main
Switching Between
Branches:
● Switching Between Local Branch
git checkout branch_name
● Switching Between Remote Branch
git checkout -b local_branch_name
origin/remote_branch_name
Merging Branches:
1. Local Merge:
● After making changes in a branch, you can merge
it into another branch using:
Code: git checkout destination_branch
git merge source_branch
1. Pull Request on GitHub:
● You create a PR to propose changes and discuss
them before merging. You can initiate a PR
directly on the GitHub website.
Deleting Branches:
● To delete a local branch after merging:
Code: git branch -d branch_name
● To delete a remote branch:
Code: git push origin --delete branch_name
Branching Best
Practices:
❖ Feature Branches
❖ Pull Often
❖ Descriptive Branch Names
❖ Commit Frequently
❖ Code Reviews
❖ Keep Branches Short-Lived
Forking
And
Pull Request
09
Forking
A fork in Git is simply a copy of an
existing repository in which the new
owner disconnects the codebase from
previous committers
What is Forking?
Forks are often used to iterate on ideas
or changes before they are proposed
back to the upstream repository, such
as in open source projects or when a
user does not have write access to the
upstream repository. Or if they make
changes to the project in a major way
and want to have a different code base
When to use forking?
Pull Request
What is a PR?
A pull request on GitHub is like asking
your friend if they like the changes you
made to a shared project before adding
them. It helps keep everyone's work
coordinated and in good shape.
Not Understood?
Let’s be practical !!
Go to the repo
Fork it!
Clone the
fork and edit
Push and
create a PR
01 03
02 04
What we will do?
github.com/imdewan
github.com/imdewan
Let’s recap and see how you can
use these in the industry !!
Get the project
Pre work
Start the work
Push and PR
01 03
02 04
1) Initiate the
project
2) Evaluate
3) Communicate
your estimates
4) Start the
project
1) Create branch
2) Clone
3) Communicate
1) Find resources
2) Work
3) Communicate
1) Create PR
2) Resolve issues
3) Ask for
feedback
Congratulate yourself!!
Review your past work
Check Your Health
Post-Work
Any questions?
Thanks for joining
UniKL!
Quiz Time!
CREDITS: This presentation template was
created by Slidesgo, and includes icons by
Flaticon, and infographics & images by Freepik
Thanks!
Socials-
LINKTR.EE/GDSC_AU
Please keep this slide for attribution
Do you have any questions?
gdsc.alliance@gmail.com

More Related Content

PPTX
tech winter break workshop on git &git hub.pptx
PPTX
Mini-training: Let’s Git It!
PPTX
Introduction to git hub
PPT
CSE 390 Lecture 9 - Version Control with GIT
ZIP
Beginner's Guide to Version Control with Git
PPT
391Lecture0909 Vision control of git.ppt
PPT
PPTX
Git and GitHub Workshop of GDG on Campus UNSTPB
tech winter break workshop on git &git hub.pptx
Mini-training: Let’s Git It!
Introduction to git hub
CSE 390 Lecture 9 - Version Control with GIT
Beginner's Guide to Version Control with Git
391Lecture0909 Vision control of git.ppt
Git and GitHub Workshop of GDG on Campus UNSTPB

Similar to GitHub Event.pptx (20)

PPTX
git github PPT_GDSCIIITK.pptx
PPTX
Version Control System-git status,git add,git commit,git log.pptx
PPTX
Introduction to GitHub, Open Source and Tech Article
DOCX
setting up a repository using GIT
PPTX
Git Basics for Software Version Management
PPTX
Git 101
PPTX
GDG On Campus NBNSCOE Version Control Essential : Master Git & GitHub
PPT
Git installation and configuration
PPTX
Introduction to git and Github
PDF
Git for folk who like GUIs
PPTX
You can git
PDF
Git interview questions | Edureka
PPTX
Git and GitHub Presentation of GDG on Campus UNSTPB
PDF
Git basics
PDF
Rc094 010d-git 2 - desconocido
PDF
Git Tutorial A Comprehensive Guide for Beginners.pdf
PDF
Git 101 Workshop
PPTX
Git and GitHub Workshop of GDG on Campus UNSTPB
KEY
Let's Git this Party Started: An Introduction to Git and GitHub
PPTX
git github PPT_GDSCIIITK.pptx
Version Control System-git status,git add,git commit,git log.pptx
Introduction to GitHub, Open Source and Tech Article
setting up a repository using GIT
Git Basics for Software Version Management
Git 101
GDG On Campus NBNSCOE Version Control Essential : Master Git & GitHub
Git installation and configuration
Introduction to git and Github
Git for folk who like GUIs
You can git
Git interview questions | Edureka
Git and GitHub Presentation of GDG on Campus UNSTPB
Git basics
Rc094 010d-git 2 - desconocido
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git 101 Workshop
Git and GitHub Workshop of GDG on Campus UNSTPB
Let's Git this Party Started: An Introduction to Git and GitHub
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Cloud computing and distributed systems.
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Electronic commerce courselecture one. Pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Machine learning based COVID-19 study performance prediction
PPTX
A Presentation on Artificial Intelligence
Approach and Philosophy of On baking technology
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx
Cloud computing and distributed systems.
Mobile App Security Testing_ A Comprehensive Guide.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Electronic commerce courselecture one. Pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
NewMind AI Monthly Chronicles - July 2025
Machine learning based COVID-19 study performance prediction
A Presentation on Artificial Intelligence
Ad

GitHub Event.pptx

  • 1. Git & GitHub Workshop Presented by- GDSC Alliance University and GDSC UniKL
  • 2. Agenda 1. Introduction by AU 2. Introduction by UniKL 3. Speech by Dr. Ratnakar Achary 4. What is Git(Alya) 5. Github account and CLI (Dewan & Saksham) 6. Creating a repo & cloning (Dhanush Suresh) 7. Changes in file, commit & push(Keerthana J) ------------------10 min break------------- 1. Branching (Pratham) 2. Forking and Pull Request(Dewan) 3. Vote of thanks(Sinchana) ------------------5 min break------------- 1. Quiz 1:00-1:05 pm 1:05-1:10 pm 1:10-1:20 pm 1:20-1:25 pm 1:25-1:40 pm 1:40-1:55 pm 1:55-2:10 pm 2:10-2:20 pm 2:20-2:40 pm 2:40-3:10 pm 3:10-3:15 pm 3:15-3:20 pm 3:20-3:30 pm
  • 5. Our team Dr. P. Mano Paul Associate Professor
  • 11. What is Git? 04 Git is a distributed version control system that tracks changes in any set of computer files. By- Alya
  • 12. What is Git? Git is a DevOps tool used for large source code management. It is a free and open-source version control system used to handle small to very projects efficiently. Git is used to tracking changes in the source code, enabling multiple developers to work together on non-linear development.
  • 13. Git Features ● Tracks history ● Free and open source ● Supports non-linear development ● Creates backups ● Scalable ● Supports collaboration ● Branching is easier ● Distributed development
  • 14. What is GitHub? 05 GitHub, Inc. is a platform and cloud-based service for software development and version control using Git. By- Dewan Shakil
  • 15. Github Account creation ● First go to github.com ● Click on Sign Up ● Now Enter your Email ● Create a strong password ● Do Verification and revisit the github’s official website ● Now click on sign in and sign in by the same email and password
  • 16. What is Git CLI? Git CLI (Command Line Interface) is a powerful tool for version control: ● It allows users to manage and track changes in their code or any set of files efficiently. ● With the Git CLI, users can perform various operations such as creating repositories, staging changes, committing modifications, branching, merging, and interacting with remote repositories hosted on platforms like GitHub, GitLab, or Bitbucket, all through text-based commands in a terminal or command prompt. By- Saksham Sharma
  • 17. Installing Git CLI In Mac OS, the terminal itself can do everything and git is pre-installed in mac. You can also Install third party terminals such as Hyper.is which will work in every OS. When you Install git it came with a terminal called gitbash. You can use any terminal that you have on your computer such as Command Prompt, Powershell Git Bash (Windows) Terminal (Mac and Linux)
  • 18. Basic Commands for Git CLI git config --global user.name "user_name” The "git config --global user.name 'user_name'" command sets the global username for Git, associating the provided 'user_name' with your commits across all repositories. git config --global user.email email The "git config --global user.email email" command sets the global email for Git, linking the specified 'email' with your commits across all repositories..
  • 19. Basic command for git CLI git config --global init.default branch main The "git config --global init.default branch main" command sets the default branch name to 'main' when initializing new repositories globally in Git. git config -h / git –-help The git config -h command displays a brief summary of the git config command and its usage options. It provides a quick reference for the config command's basic functionality and how to use it.
  • 21. What is a Repository? A repository, or repo, is a centralized digital storage that developers use to make and manage changes to an application’s source code. Developers have to store and share folders, text files, and other types of documents when developing software. A repo has features that allow developers to easily track code changes, simultaneously edit files, and efficiently collaborate on the same project from any location.
  • 23. Cloning a repo Once The repository is created,you will get a rectangle,once you create your repository And then go to your terminal and type git clone <the copied link>
  • 24. Changes in file, commit & push -Keerthana J 07
  • 25. Stages of a File
  • 26. Let’s Commit Step 1: Add a file to the staging environment git add <file> Step 2: Create a commit git commit -m "Your message about the commit"
  • 27. Pushhhhh! git push is most commonly used to publish an upload local changes to a central repository. git push origin main
  • 28. Too much to handle? Let’s chill for 10 mins
  • 29. Branching ● Branching in Git, including GitHub, is a powerful feature that allows developers to work on different aspects of a project. ● Simultaneously, experiment with new features, and maintain a clean and organized version history. 08
  • 30. Creating a Branch: 1. Local Branch ● To create a new branch locally, use the following command in your Git repository: Code: git checkout -b new_branch_name 1. Remote Branch (GitHub): ● After creating a local branch, you can push it to GitHub to make it available remotely: Code: git push origin new_branch_name Main
  • 31. Switching Between Branches: ● Switching Between Local Branch git checkout branch_name ● Switching Between Remote Branch git checkout -b local_branch_name origin/remote_branch_name
  • 32. Merging Branches: 1. Local Merge: ● After making changes in a branch, you can merge it into another branch using: Code: git checkout destination_branch git merge source_branch 1. Pull Request on GitHub: ● You create a PR to propose changes and discuss them before merging. You can initiate a PR directly on the GitHub website.
  • 33. Deleting Branches: ● To delete a local branch after merging: Code: git branch -d branch_name ● To delete a remote branch: Code: git push origin --delete branch_name
  • 34. Branching Best Practices: ❖ Feature Branches ❖ Pull Often ❖ Descriptive Branch Names ❖ Commit Frequently ❖ Code Reviews ❖ Keep Branches Short-Lived
  • 36. Forking A fork in Git is simply a copy of an existing repository in which the new owner disconnects the codebase from previous committers What is Forking? Forks are often used to iterate on ideas or changes before they are proposed back to the upstream repository, such as in open source projects or when a user does not have write access to the upstream repository. Or if they make changes to the project in a major way and want to have a different code base When to use forking?
  • 37. Pull Request What is a PR? A pull request on GitHub is like asking your friend if they like the changes you made to a shared project before adding them. It helps keep everyone's work coordinated and in good shape. Not Understood?
  • 38. Let’s be practical !! Go to the repo Fork it! Clone the fork and edit Push and create a PR 01 03 02 04 What we will do? github.com/imdewan
  • 40. Let’s recap and see how you can use these in the industry !! Get the project Pre work Start the work Push and PR 01 03 02 04 1) Initiate the project 2) Evaluate 3) Communicate your estimates 4) Start the project 1) Create branch 2) Clone 3) Communicate 1) Find resources 2) Work 3) Communicate 1) Create PR 2) Resolve issues 3) Ask for feedback
  • 41. Congratulate yourself!! Review your past work Check Your Health Post-Work
  • 45. CREDITS: This presentation template was created by Slidesgo, and includes icons by Flaticon, and infographics & images by Freepik Thanks! Socials- LINKTR.EE/GDSC_AU Please keep this slide for attribution Do you have any questions? gdsc.alliance@gmail.com