
Github and SSH
Presentation
•
Computers
•
University
•
Practice Problem
•
Hard
Mandeep Kaur
FREE Resource
12 Slides • 0 Questions
1
Adding Version Control (Git) &
Setting Up GitHub with SSH Key
2
Why Version Control Matters Content
• Facilitates collaboration in software development.
• Tracks and manages changes to code.
• Allows you to revert to previous versions.
• Ensures code integrity and history.
3
What is Git?
• Git is a distributed version control system.
• It helps track changes to files.
• Key features:
• Branching and merging.
• Lightweight and fast.
• Distributed repository.
• Commonly used for software projects.
4
Installing Git
1.Download Git: https://git-scm.com.
2.Install Git on your system:
•For Windows: Run the installer.
•For macOS: Use Homebrew (brew install git).
•For Linux: Use package manager (sudo apt install git).
3.Verify installation: git --version.
5
Setting Up Git
1. Set your username: git config --global user.name "Your Name".
2. Set your email: git config --global user.email "your.email@example.com".
3. Check the configuration: git config --list.
6
What is GitHub?
• GitHub is a platform for hosting Git repositories.
• Enables collaboration with others.
• Provides tools for code review, issue tracking, and CI/CD.
• Public and private repositories.
7
Creating a GitHub Account
• Visit https://github.com.
• Sign up with your email address.
• Confirm your email and log in.
• Explore the dashboard.
8
Generating an SSH Key
1.Open terminal (or Git Bash for Windows).
2.Generate an SSH key:
ssh-keygen -t ed25519 -C "your.email@example.com"
3.Follow prompts to save the key (default location is recommended).
4.Start the SSH agent:
eval "$(ssh-agent -s)"
5.Add the SSH key:
ssh-add ~/.ssh/id_ed25519
9
Adding SSH Key to GitHub
1.Copy your public SSH key:
cat ~/.ssh/id_ed25519.pub
2.Log in to GitHub and navigate to Settings > SSH and GPG keys.
3.Click New SSH key.
4.Paste the key and give it a title.
5.Save the key.
10
Cloning a Repository with SSH
1.Find the repository URL on GitHub (choose SSH option).
2.Clone the repository:
git clone git@github.com:username/repository.git
3.Start collaborating securely.
11
Summary
• Git enables efficient version control and collaboration.
• GitHub provides a platform for hosting and teamwork.
• SSH keys secure your GitHub interactions.
• Set up Git, GitHub, and SSH to streamline your workflow.
12
Additional resources:
• Git documentation: https://git-scm.com/doc.
• GitHub docs: https://docs.github.com.
Adding Version Control (Git) &
Setting Up GitHub with SSH Key
Show answer
Auto Play
Slide 1 / 12
SLIDE
Similar Resources on Wayground
8 questions
Navegadores VS Buscadores
Presentation
•
KG
8 questions
La Educación
Presentation
•
University
10 questions
Chapter 11 Quiz
Presentation
•
University
10 questions
Week 1 Recap Winter 2023
Presentation
•
University
7 questions
Tailwind CSS
Presentation
•
University
9 questions
Topologi Jaringan Tugas 8 GTA-FPD
Presentation
•
KG - Professional Dev...
12 questions
PROFISSÕES DO FUTURO
Presentation
•
University
12 questions
Unit 3.1 - Functions and types of operating systems
Presentation
•
University
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Soup, Salad, or Sandwich?
Quiz
•
1st Grade - Professio...
20 questions
Disney Trivia
Quiz
•
University
8 questions
Extracted Quiz
Quiz
•
University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
67 questions
Unit 3 Random Questions
Quiz
•
11th Grade - University
64 questions
USHC 4 Key Terms 22-23
Quiz
•
11th Grade - University
12 questions
This or That...
Quiz
•
1st Grade - University
25 questions
Comma CFA
Quiz
•
6th Grade - University