Git and GitHub
Intro
This is a really difficult concept and it is common for beginners to struggle.
It’s normal, dont feel bad, you arent dumb.
You will probably end this class more confused than you are now, that’s ok, it’s the first step in learning git.
There are links to much more extensive courses on the last slide, it’s definitely worth investing the time to do one of them/
What is a terminal?
You can think of the terminal as the most basic interface for a program, the program without the user interface.
Why do we still use it in 2022?
What if I’ve never used a terminal before?
You’ll get used to it, it is not super difficult, it’s just all new. You can learn some basics on youtube (here or pick a different one here one more tip, choose a tutorial that uses the operating system that you use, it is a little different on windows, mac or linux and it is very frustrating when it isn’t quite the same)
You can also just google how to do each thing until you remember off the top of your head.
What is Git?�
What is Github?
Git is the technology, GitHub is the cloud service
(like photos and google photos)
(or porn and pornhub)��Why are we using GitHub if GitLab is far superior?
Because most companies use GitHub and in your first job, they will probably use GitHub
James’s Setup
I’ve using a Mac, this is what I’ve already set up:
You can adjust your terminal profile with some useful configurations,� 1. Make VS code our default terminal editor (Instructions)
2. Add branch name to our terminal (instructions for Mac/Linux or Windows)
What I’ll show you how to do:
What You will do:
Start our App
Some useful commands and what they do
Adding a feature
Break!
Your Task
Second Task / Homework
Further reading (all free)
Open Classrooms course (20 hours) https://openclassrooms.com/en/courses/5671626-manage-your-code-project-with-git-github
Git and GitHub - CS50 (Harvard Computer Science course) https://www.youtube.com/watch?v=eulnSXkhE7I
Git and GitHub for Beginners - Crash Course (free code camp) https://www.youtube.com/watch?v=RGOj5yH7evk