Git and Github for beginners

What is “Git”

The git command-line program

git version 2.20.1 (Apple Git-117)

Github Download and Configuration

Download and Setup Git
Configure Git on your computer

Essential Terminal commands

Jonass-MBP:~ jduri$ cd Documents
Jonass-MBP:Documents jduri$
Jonass-MBP:Documents jduri$ cd ..
Jonass-MBP:~ jduri$
Jonass-MBP:~ jduri$ ls
Applications Documents Desktop Downloads test.html
Jonass-MBP:Documents jduri$ pwd
/Users/jduri/Documents
Jonass-MBP:Documents jduri$

What is a “repository”

Github

Create a new repository
Choose a name and a description
Copy the HTTPS URL of your repository

Clone the repository to your computer

Clone a repository to your computer

Tipp

Install “Shell Command” for Visual Studio Code
User `code .` command from the terminal

Git & Visual Studio Code

Commit a file and upload your changes to Github
The blue (1) indicates that you have one change ready to commit
You can view your recent changes on Github

Pull code changes from Github.

Edit files on Github
Pull changes from Github

Resources

https://jduri.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What does the Builder Class do in Flutter?

AWS Launching An Instance and EBS using CLI

_______ MongoDB Use-Case_______

☁️Why we’re reinvesting in our UNMS cloud hosting product

[Unity] Always Be Linear: Shader-Based Gamma Correction

Back to work

Andela bootcamp day 2

The Ultimate Terminal Emulator with Oh-My-Zsh Experience

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jonas Duri

Jonas Duri

https://jduri.com/

More from Medium

Unit Testing in Python

Getting started with Git & GitHub . . .

A beginner’s guide to Git version control

Git and GitHub (Part-2)