際際滷

際際滷Share a Scribd company logo
Introduction to git and Github
Welcome to GDSC
Chapter
We are here to cover the differences between theories and practical aspect of
technology in our communities.
Introduction to git and Github
WELCOMING ADDRESS
BY
DAVID KINYAJUI
(GDSC LEAD)
Introduction to Git and GitHub
(By Wycliff Njenga)
Git is a software for tracking changes in any set of files(folders), usually used for coordinating
work among programmers collaborating in developing source code during software development.
GitHub is an online platform/provider of internet used for hosting software development and
version control using git.
It helps a team work on a project and track their progress by seeing changes every team
programmer/coder makes to it hence help them to work together.
Categories of Version Control System(VCS)
1. Centralized VCS - Allows team members to connect to a central server to get the latest copy
of code and commit their changes among the programmers. Examples include Subversion
and Microsoft Team foundation. Some of the disadvantages of Centralized vcs is that incase
of central failure, work can not proceed.
2. Distributed VCS - Team members have the project history locally in their machines and can
link directly to each other. Git and Mercurial are good examples of distributes VCS.
Advantages of Git
We are going to major on git since it is the most popular version control
system with over 70% of programmers across the globe using it.
Here is why git is the most used VCS:
 It is free
 It is open source
 It is superfast
 Scalable
 Cheap branching/merging
HOW TO INSTALL GIT AND CREATE A GITHUB ACCOUNT
-Git supports Windows, macOS and Linux.
-To download it go to your google search bar and search for the latest git
software. From the official site of git choose the package that fits your
operating system and download it. (https://git-scm.com)
-Once you have the setup follow the installation instruction to install it to your
machine. Be sure to check the necessary and recommended git features. Take
a look at git release notes in case you get stuck during the installation process.
-If everything has worked out fine, then the software is ready for use. Once
you've done that, create a GitHub account here(https://github.com)
Getting started with Git
Git can be used on a command line. Modern code editors and IDEs support
git therefore they have basic git features.
Git also have Graphical User Interfaces and the most popular tools are:
//GitKracken Git GUI
//Sourcetree
--GitKraken works across different platforms such as Get Cracking Boards
for issue tracking and git cracking timelines for project timeline.
--Sourcetree on the other hand is free but only available for windows and
macOS which means Linux users will have to use another Git GUI tool.
HOW TO CHECK IF GIT IS INSTALLED IN YOUR COMPUTER
Open a terminal or command prompt window. If you are on mac press
command + space and type terminal. For windows users click search icon and
type cmd.
To know that git is installed type git version.
In windows, your installer will install Git Bash application which is basically a
git command line.
CONFIGURING GIT
(By Jared Otieno)
You will need your GitHub accounts username and email during git configuration.
In configuration we have to specify a few things such as Name, Email, Default Editor and Line
ending.
The above configurations occur at different levels.
 System  for all users
 Global  for all repositories of the current user.
 Local  for the current user.
Lets do it practically (Open your command prompt |CMD|)
 git config global user.name Your User Name. We are using those quotation marks because
of the spaces between the name.
 git config global user.email youremail@gmail.com
 git config global core.editor code wait
 git config global e. Will open our default editor to edit all our global settings.
Configure how git should handle end of lines.
In windows end of lines are marked with two special characters
 r  carriage return
 n  line feed
In mac end of lines are marked with line feed n.
 git config global core.autocrlf true for windows
 git config global core.autocrlf input for mac and Linux.
To get help with git configuration you can type git config on the google search bar or on
your command line type:
 git config help. Press space to go to the next page and q to quit.
 git config h for short summary.
CREATING REPOSITORY AND STORING OUR PROJECTS
After configuring our git we now need to create a repository in the GitHub
account and use it to store our projects. As stated earlier, a repository is a
special type of a database that keeps a projects code.
To create a repository follow the procedures stated below.
 Login to GitHub with your username and password
 Got to create repository
 Put the repository name
 If the name is checked to be available click create repository.
Now our repository is ready to receive a project so go to your git bash to
do it. Here is how:
 cd to your project directory.
 git init to initialize your project
 git add name of project to add your project to git
 git commit m show the progress to update it to git
 git remote add origin link to your repository (at this stage copy the link of
your repository from your GitHub account and paste it here)
 git push u origin master to push your project to your GitHub account.
GitHub Desktop
(By David Kinyanjui)
What is GitHub Desktop?
-GitHub Desktop is an application that enables you to interact
with GitHub using GUI instead of the command line or a web
browser.
-As mentioned earlier by Jared, GitHub encourages you and
your team to collaborate using best practices with Git and
GitHub. You can use GitHub Desktop to complete most Git
commands from your desktop with visual confirmation of
changes. You can push to, pull from, or clone remote
repositories with GitHub Desktop.
How to download and Install.
We will provide a software copy of windows operating system
laptops but before that you we can download it from
desktop.github.com.
Download and Install the software and lets get started.
After successful installation you come across the below
screenshot.
Introduction to git and Github
Contributing to projects with GitHub Desktop
After installing, authenticating, and configuring
the app, you are ready to start using GitHub
Desktop. You can create, add or clone
repositories and use GitHub Desktop to manage
contributions to your repositories.
Showcasing cloning, creating, pushing and
pulling repos using GitHub Desktop
GDSC SESSION CALENDER
By Alex
(Animation and Graphics Designer)
Date Time Session Topics
26th Sept 2021 1600hrs Info session and introduction Introducing GDSC core lead and GDSC alumni.
21st Nov 2021 1600hrs Introduction to git and GitHub Installing Git, GitHub, Cloning, Repos, Push, Pull, Using
Terminal, GitHub Desktop,
5th Dec 2021 1600hrs Introduction to UI/UX designing Installing figma /Adobe, designing, Animating
11th Dec 2021 0200hrs GDSC HIKE To be communicated(Place of Interest)
8th Jan 2022 1600hrs Cyber Security and Networking Internet, User Security, Networking
- Jan 2022 1600hrs Introduction to SQL and NOSQL
Databases
Installation, Creating, Analyzing, reading and
implementing.
22nd Jan 2022 1600hrs Introduction to APIs APIs
30th Jan 2022 1600hrs Submission of GDSC projects GDSC Mobile Apps and Web Apps

More Related Content

What's hot (20)

Getting Started with GitHub
Getting Started with GitHubGetting Started with GitHub
Getting Started with GitHub
Michael Redlich
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
JasleenSondhi
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT
Git n git hub
Git n git hubGit n git hub
Git n git hub
Jiwon Baek
Github
GithubGithub
Github
JaneAlamAdnan
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Omar Fathy
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
Nishan Bose
HacktoberFest-Git&GitHub
HacktoberFest-Git&GitHubHacktoberFest-Git&GitHub
HacktoberFest-Git&GitHub
GDSCIIITBbsr
GitHub
GitHubGitHub
GitHub
ThomasLai27
Github
GithubGithub
Github
IFEDAYO ADEYEMI
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal GargGitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
Nisha Garg
Git best practices 2016
Git best practices 2016Git best practices 2016
Git best practices 2016
Otto Kek辰l辰inen
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productive
Karsten Dambekalns
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
Rakesh Sukumar
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
Rick Umali
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
Aderemi Dadepo
Git for Beginners
Git for BeginnersGit for Beginners
Git for Beginners
Rick Umali
Github
GithubGithub
Github
MeetPatel710
Git Going w/ Git
Git Going w/ GitGit Going w/ Git
Git Going w/ Git
heyMP
Github
GithubGithub
Github
siva sandeep
Getting Started with GitHub
Getting Started with GitHubGetting Started with GitHub
Getting Started with GitHub
Michael Redlich
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
JasleenSondhi
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT
Git n git hub
Git n git hubGit n git hub
Git n git hub
Jiwon Baek
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Omar Fathy
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
Nishan Bose
HacktoberFest-Git&GitHub
HacktoberFest-Git&GitHubHacktoberFest-Git&GitHub
HacktoberFest-Git&GitHub
GDSCIIITBbsr
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal GargGitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
Nisha Garg
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productive
Karsten Dambekalns
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
Rakesh Sukumar
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
Rick Umali
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
Aderemi Dadepo
Git for Beginners
Git for BeginnersGit for Beginners
Git for Beginners
Rick Umali
Git Going w/ Git
Git Going w/ GitGit Going w/ Git
Git Going w/ Git
heyMP

Similar to Introduction to git and Github (20)

GIT By Sivakrishna
GIT By SivakrishnaGIT By Sivakrishna
GIT By Sivakrishna
Nyros Technologies
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
Gaurav Wable
Introduction to git & github
Introduction to git & githubIntroduction to git & github
Introduction to git & github
Vinothini KadambavanaSundaram
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes Developers
Martin Jinoch
Git Training
Git TrainingGit Training
Git Training
Prabal Tyagi
Using Git to Organize Your Project
Using Git to Organize Your ProjectUsing Git to Organize Your Project
Using Git to Organize Your Project
Manish Suwal 'Enwil'
Mini-training: Lets Git It!
Mini-training: Lets Git It!Mini-training: Lets Git It!
Mini-training: Lets Git It!
Betclic Everest Group Tech Team
Github By Nyros Developer
Github By Nyros DeveloperGithub By Nyros Developer
Github By Nyros Developer
Nyros Technologies
3DC Intro to Git Workshop
3DC Intro to Git Workshop3DC Intro to Git Workshop
3DC Intro to Git Workshop
BeckhamWee
Learning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdfLearning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
prostackacademy
Git.pptx
Git.pptxGit.pptx
Git.pptx
GDSC UofT Mississauga
Git hub visualstudiocode
Git hub visualstudiocodeGit hub visualstudiocode
Git hub visualstudiocode
Rolands Krumbergs
1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx
HuthaifaAlmaqrami1
Open up your platform with Open Source and GitHub
Open up your platform with Open Source and GitHubOpen up your platform with Open Source and GitHub
Open up your platform with Open Source and GitHub
Scott Graham
Subversion to Git Migration
Subversion to Git MigrationSubversion to Git Migration
Subversion to Git Migration
Manish Chakravarty
Version Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptxVersion Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptx
ChayapathiAR
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
GhadiAlGhosh
introductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdfintroductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes Developers
Martin Jinoch
Using Git to Organize Your Project
Using Git to Organize Your ProjectUsing Git to Organize Your Project
Using Git to Organize Your Project
Manish Suwal 'Enwil'
3DC Intro to Git Workshop
3DC Intro to Git Workshop3DC Intro to Git Workshop
3DC Intro to Git Workshop
BeckhamWee
Learning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdfLearning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
prostackacademy
1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx
HuthaifaAlmaqrami1
Open up your platform with Open Source and GitHub
Open up your platform with Open Source and GitHubOpen up your platform with Open Source and GitHub
Open up your platform with Open Source and GitHub
Scott Graham
Subversion to Git Migration
Subversion to Git MigrationSubversion to Git Migration
Subversion to Git Migration
Manish Chakravarty
Version Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptxVersion Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptx
ChayapathiAR
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
GhadiAlGhosh
introductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdfintroductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640

Recently uploaded (20)

UNIT 1 Introduction to communication.pptx
UNIT 1 Introduction to communication.pptxUNIT 1 Introduction to communication.pptx
UNIT 1 Introduction to communication.pptx
HARIHARAN A
How to Invoice Shipping Cost to Customer in Odoo 17
How to Invoice Shipping Cost to Customer in Odoo 17How to Invoice Shipping Cost to Customer in Odoo 17
How to Invoice Shipping Cost to Customer in Odoo 17
Celine George
PSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First TryPSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First Try
lethamcmullen
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptxO SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
AituzazKoree
Unit No 4- Chemotherapy of Malignancy.pptx
Unit No  4- Chemotherapy of Malignancy.pptxUnit No  4- Chemotherapy of Malignancy.pptx
Unit No 4- Chemotherapy of Malignancy.pptx
Ashish Umale
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation FourthStrategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
keileyrazawi
nature and importance of Indian Knowledge System
nature and importance of Indian Knowledge Systemnature and importance of Indian Knowledge System
nature and importance of Indian Knowledge System
hanishabatra0
Analysis of Conf File Parameters in Odoo 17
Analysis of Conf File Parameters in Odoo 17Analysis of Conf File Parameters in Odoo 17
Analysis of Conf File Parameters in Odoo 17
Celine George
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. DabhadeCombinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Dabhade madam Dabhade
2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions
leigh441292
Developing Topic and Research Question for Systematic Reviews - Emmanuel Ekpor
Developing Topic and Research Question for Systematic Reviews - Emmanuel EkporDeveloping Topic and Research Question for Systematic Reviews - Emmanuel Ekpor
Developing Topic and Research Question for Systematic Reviews - Emmanuel Ekpor
Systematic Reviews Network (SRN)
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷sPurchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Celine George
Test Bank Pharmacology 3rd Edition Brenner Stevens
Test Bank Pharmacology 3rd Edition Brenner  StevensTest Bank Pharmacology 3rd Edition Brenner  Stevens
Test Bank Pharmacology 3rd Edition Brenner Stevens
evakimworwa38
Using GenAI for Universal Design for Learning
Using GenAI for Universal Design for LearningUsing GenAI for Universal Design for Learning
Using GenAI for Universal Design for Learning
Damian T. Gordon
The Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptxThe Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptx
SamarHosni3
Mixed_Sinhala_Dual_Male_Names (1).pdf...
Mixed_Sinhala_Dual_Male_Names (1).pdf...Mixed_Sinhala_Dual_Male_Names (1).pdf...
Mixed_Sinhala_Dual_Male_Names (1).pdf...
keshanf79
URINE SPECIMEN COLLECTION AND HANDLING CLASS 1 FOR ALL PARAMEDICAL OR CLINICA...
URINE SPECIMEN COLLECTION AND HANDLING CLASS 1 FOR ALL PARAMEDICAL OR CLINICA...URINE SPECIMEN COLLECTION AND HANDLING CLASS 1 FOR ALL PARAMEDICAL OR CLINICA...
URINE SPECIMEN COLLECTION AND HANDLING CLASS 1 FOR ALL PARAMEDICAL OR CLINICA...
Prabhakar Singh Patel
Proteins, Bio similars & Antibodies.pptx
Proteins, Bio similars &  Antibodies.pptxProteins, Bio similars &  Antibodies.pptx
Proteins, Bio similars & Antibodies.pptx
Ashish Umale
Action of Muscles ppt by Priscilla Jasper Vedam Vemavarapu @ASRHMC
Action of  Muscles ppt by Priscilla Jasper Vedam Vemavarapu @ASRHMCAction of  Muscles ppt by Priscilla Jasper Vedam Vemavarapu @ASRHMC
Action of Muscles ppt by Priscilla Jasper Vedam Vemavarapu @ASRHMC
jaspervedamvemavarap
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay ChoudharyCode a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
QuantInsti
UNIT 1 Introduction to communication.pptx
UNIT 1 Introduction to communication.pptxUNIT 1 Introduction to communication.pptx
UNIT 1 Introduction to communication.pptx
HARIHARAN A
How to Invoice Shipping Cost to Customer in Odoo 17
How to Invoice Shipping Cost to Customer in Odoo 17How to Invoice Shipping Cost to Customer in Odoo 17
How to Invoice Shipping Cost to Customer in Odoo 17
Celine George
PSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First TryPSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First Try
lethamcmullen
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptxO SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
AituzazKoree
Unit No 4- Chemotherapy of Malignancy.pptx
Unit No  4- Chemotherapy of Malignancy.pptxUnit No  4- Chemotherapy of Malignancy.pptx
Unit No 4- Chemotherapy of Malignancy.pptx
Ashish Umale
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation FourthStrategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
keileyrazawi
nature and importance of Indian Knowledge System
nature and importance of Indian Knowledge Systemnature and importance of Indian Knowledge System
nature and importance of Indian Knowledge System
hanishabatra0
Analysis of Conf File Parameters in Odoo 17
Analysis of Conf File Parameters in Odoo 17Analysis of Conf File Parameters in Odoo 17
Analysis of Conf File Parameters in Odoo 17
Celine George
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. DabhadeCombinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Dabhade madam Dabhade
2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions
leigh441292
Developing Topic and Research Question for Systematic Reviews - Emmanuel Ekpor
Developing Topic and Research Question for Systematic Reviews - Emmanuel EkporDeveloping Topic and Research Question for Systematic Reviews - Emmanuel Ekpor
Developing Topic and Research Question for Systematic Reviews - Emmanuel Ekpor
Systematic Reviews Network (SRN)
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷sPurchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Celine George
Test Bank Pharmacology 3rd Edition Brenner Stevens
Test Bank Pharmacology 3rd Edition Brenner  StevensTest Bank Pharmacology 3rd Edition Brenner  Stevens
Test Bank Pharmacology 3rd Edition Brenner Stevens
evakimworwa38
Using GenAI for Universal Design for Learning
Using GenAI for Universal Design for LearningUsing GenAI for Universal Design for Learning
Using GenAI for Universal Design for Learning
Damian T. Gordon
The Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptxThe Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptx
SamarHosni3
Mixed_Sinhala_Dual_Male_Names (1).pdf...
Mixed_Sinhala_Dual_Male_Names (1).pdf...Mixed_Sinhala_Dual_Male_Names (1).pdf...
Mixed_Sinhala_Dual_Male_Names (1).pdf...
keshanf79
URINE SPECIMEN COLLECTION AND HANDLING CLASS 1 FOR ALL PARAMEDICAL OR CLINICA...
URINE SPECIMEN COLLECTION AND HANDLING CLASS 1 FOR ALL PARAMEDICAL OR CLINICA...URINE SPECIMEN COLLECTION AND HANDLING CLASS 1 FOR ALL PARAMEDICAL OR CLINICA...
URINE SPECIMEN COLLECTION AND HANDLING CLASS 1 FOR ALL PARAMEDICAL OR CLINICA...
Prabhakar Singh Patel
Proteins, Bio similars & Antibodies.pptx
Proteins, Bio similars &  Antibodies.pptxProteins, Bio similars &  Antibodies.pptx
Proteins, Bio similars & Antibodies.pptx
Ashish Umale
Action of Muscles ppt by Priscilla Jasper Vedam Vemavarapu @ASRHMC
Action of  Muscles ppt by Priscilla Jasper Vedam Vemavarapu @ASRHMCAction of  Muscles ppt by Priscilla Jasper Vedam Vemavarapu @ASRHMC
Action of Muscles ppt by Priscilla Jasper Vedam Vemavarapu @ASRHMC
jaspervedamvemavarap
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay ChoudharyCode a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
QuantInsti

Introduction to git and Github

  • 2. Welcome to GDSC Chapter We are here to cover the differences between theories and practical aspect of technology in our communities.
  • 5. Introduction to Git and GitHub (By Wycliff Njenga)
  • 6. Git is a software for tracking changes in any set of files(folders), usually used for coordinating work among programmers collaborating in developing source code during software development. GitHub is an online platform/provider of internet used for hosting software development and version control using git. It helps a team work on a project and track their progress by seeing changes every team programmer/coder makes to it hence help them to work together. Categories of Version Control System(VCS) 1. Centralized VCS - Allows team members to connect to a central server to get the latest copy of code and commit their changes among the programmers. Examples include Subversion and Microsoft Team foundation. Some of the disadvantages of Centralized vcs is that incase of central failure, work can not proceed. 2. Distributed VCS - Team members have the project history locally in their machines and can link directly to each other. Git and Mercurial are good examples of distributes VCS.
  • 7. Advantages of Git We are going to major on git since it is the most popular version control system with over 70% of programmers across the globe using it. Here is why git is the most used VCS: It is free It is open source It is superfast Scalable Cheap branching/merging
  • 8. HOW TO INSTALL GIT AND CREATE A GITHUB ACCOUNT -Git supports Windows, macOS and Linux. -To download it go to your google search bar and search for the latest git software. From the official site of git choose the package that fits your operating system and download it. (https://git-scm.com) -Once you have the setup follow the installation instruction to install it to your machine. Be sure to check the necessary and recommended git features. Take a look at git release notes in case you get stuck during the installation process. -If everything has worked out fine, then the software is ready for use. Once you've done that, create a GitHub account here(https://github.com)
  • 9. Getting started with Git Git can be used on a command line. Modern code editors and IDEs support git therefore they have basic git features. Git also have Graphical User Interfaces and the most popular tools are: //GitKracken Git GUI //Sourcetree --GitKraken works across different platforms such as Get Cracking Boards for issue tracking and git cracking timelines for project timeline. --Sourcetree on the other hand is free but only available for windows and macOS which means Linux users will have to use another Git GUI tool.
  • 10. HOW TO CHECK IF GIT IS INSTALLED IN YOUR COMPUTER Open a terminal or command prompt window. If you are on mac press command + space and type terminal. For windows users click search icon and type cmd. To know that git is installed type git version. In windows, your installer will install Git Bash application which is basically a git command line.
  • 12. You will need your GitHub accounts username and email during git configuration. In configuration we have to specify a few things such as Name, Email, Default Editor and Line ending. The above configurations occur at different levels. System for all users Global for all repositories of the current user. Local for the current user. Lets do it practically (Open your command prompt |CMD|) git config global user.name Your User Name. We are using those quotation marks because of the spaces between the name. git config global user.email youremail@gmail.com git config global core.editor code wait git config global e. Will open our default editor to edit all our global settings.
  • 13. Configure how git should handle end of lines. In windows end of lines are marked with two special characters r carriage return n line feed In mac end of lines are marked with line feed n. git config global core.autocrlf true for windows git config global core.autocrlf input for mac and Linux. To get help with git configuration you can type git config on the google search bar or on your command line type: git config help. Press space to go to the next page and q to quit. git config h for short summary.
  • 14. CREATING REPOSITORY AND STORING OUR PROJECTS After configuring our git we now need to create a repository in the GitHub account and use it to store our projects. As stated earlier, a repository is a special type of a database that keeps a projects code. To create a repository follow the procedures stated below. Login to GitHub with your username and password Got to create repository Put the repository name If the name is checked to be available click create repository.
  • 15. Now our repository is ready to receive a project so go to your git bash to do it. Here is how: cd to your project directory. git init to initialize your project git add name of project to add your project to git git commit m show the progress to update it to git git remote add origin link to your repository (at this stage copy the link of your repository from your GitHub account and paste it here) git push u origin master to push your project to your GitHub account.
  • 17. What is GitHub Desktop? -GitHub Desktop is an application that enables you to interact with GitHub using GUI instead of the command line or a web browser. -As mentioned earlier by Jared, GitHub encourages you and your team to collaborate using best practices with Git and GitHub. You can use GitHub Desktop to complete most Git commands from your desktop with visual confirmation of changes. You can push to, pull from, or clone remote repositories with GitHub Desktop.
  • 18. How to download and Install. We will provide a software copy of windows operating system laptops but before that you we can download it from desktop.github.com. Download and Install the software and lets get started. After successful installation you come across the below screenshot.
  • 20. Contributing to projects with GitHub Desktop After installing, authenticating, and configuring the app, you are ready to start using GitHub Desktop. You can create, add or clone repositories and use GitHub Desktop to manage contributions to your repositories. Showcasing cloning, creating, pushing and pulling repos using GitHub Desktop
  • 21. GDSC SESSION CALENDER By Alex (Animation and Graphics Designer)
  • 22. Date Time Session Topics 26th Sept 2021 1600hrs Info session and introduction Introducing GDSC core lead and GDSC alumni. 21st Nov 2021 1600hrs Introduction to git and GitHub Installing Git, GitHub, Cloning, Repos, Push, Pull, Using Terminal, GitHub Desktop, 5th Dec 2021 1600hrs Introduction to UI/UX designing Installing figma /Adobe, designing, Animating 11th Dec 2021 0200hrs GDSC HIKE To be communicated(Place of Interest) 8th Jan 2022 1600hrs Cyber Security and Networking Internet, User Security, Networking - Jan 2022 1600hrs Introduction to SQL and NOSQL Databases Installation, Creating, Analyzing, reading and implementing. 22nd Jan 2022 1600hrs Introduction to APIs APIs 30th Jan 2022 1600hrs Submission of GDSC projects GDSC Mobile Apps and Web Apps