This is a brief presentation on git and github which can be very useful for a session. Bullet points and commands that will definitely clear all your question regarding git and github.
2. Agenda
WHAT IS GIT?
WHAT IS GITHUB?
INSTALLATION OF GIT
CONFIGURING GIT
CONNECTING GIT WITH
GITHUB
GIT/ GITHUB WORKFLOW
PULL AND PUSH
BRANCHING
MERGING AND REBASING
FORKING
EXTENSIVE FEATURES OF
GITHUB
3. What is Git?
Version Control System
Allows you to see changes
you make to your code
Revert any change to your
code
NOT GITHUB!!!
4. BACK TO AGENDA PAGE
So then, what
is Github?
Github.com is a website that
hosts your repositories
Sharing of codebases among
teams to easily fork or clone
repos to a local machine
Sharing of codebases among
teams to easily fork or clone
repos to a local machine
8. BACK TO AGENDA PAGE
Connecting git
with Github
From your project directory, run `git init` to
initialize a git repository
Go to Github, and create a new repository with
the name of your project.
Follow the instructions on Github to connect
your initialized git repository to the remote
server on Github.
*Please Note: you must have files in your
project directory to commit in order to push
anything to your remote server
9. Creating New Repository
BACK TO AGENDA PAGE
In the upper-right corner of any page, use the drop-down menu, and select New
repository.
Optional, if you have a template select one.
Type any repository name
Optional, any description
Choose Public or Private (public preferred)
Optional, initialize Readme.md
Click on Create repository
1.
2.
3.
4.
5.
6.
7.