Slide 1

Slide 1 text

GIT COLLABORATIVE WITH GITHUB TRAVEL THE MULTIVERSE Clifford Ouma Ochieng 2023 March 8

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Clifford Ouma Twitter: @clifford_ouma Postman Student Leader GitHub Campus Expert Microsoft Learn Student Ambassador Moi University LinkedIn: Clifford Ouma

Slide 4

Slide 4 text

Is a version control system Works like a time machine. Docoments changes and allows you to jump back and forth Is a command-line tool used to manage files and collaborate with others on projects. 2. What is Git

Slide 5

Slide 5 text

Github is web-based platform that provides a graphical interface for using Git. Collaborative platform Provides many features such as version control, issue tracking, CI/CD and project management Widely used to manage their projects and collaborate with others. 2. What is GitHub

Slide 6

Slide 6 text

Commits are checkpoints Branches are alternative versions of our code Merging is synchronizing branches 2. De-jargoning

Slide 7

Slide 7 text

Commit Are checkpoints Describe what happened By reallygreatsite 1.

Slide 8

Slide 8 text

Branches Alternate realities/versions Work freely without changing the original By reallygreatsite 1.

Slide 9

Slide 9 text

Main branch is sacred and should be handled with care By reallygreatsite 1.

Slide 10

Slide 10 text

Merging Syncronizing branches By reallygreatsite 1.

Slide 11

Slide 11 text

Ignoring Ignore files like secrets, API keys, passwords, unnecessary files By reallygreatsite 1.

Slide 12

Slide 12 text

LET'S SETUP THINGS Installing git on your machine Configuration variables (email, username and ignore file) Initializing a git project (git init)

Slide 13

Slide 13 text

git config --global user.name “name secondName" git config --global user.email "[email protected]" //Setting default editor as Visual Studio Code git config --global core.editor "code --wait" Configuration Variables

Slide 14

Slide 14 text

UNDERSTANDING GIT ENVIRONMENT

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

Basic Commands

Slide 17

Slide 17 text

git init git clone git remote git remote add git rename git remote remove git remote show

Slide 18

Slide 18 text

git status git diff git reflog git log

Slide 19

Slide 19 text

git branch git branch -a git branch -d git branch -m git checkout git checkout -b

Slide 20

Slide 20 text

Practice Repo https://github.com/Cli4d/Git-Collaborative- With-GitHub

Slide 21

Slide 21 text

FOR LISTENING THANK YOU