Learn Git and GitHub Tutorial | Step by Step

Published: 23 May 2020
on channel: Wes Doyle
14,783
358

In this video, I'll cover step-by-step how you can use git for version control for any of your development projects. I'll demonstrate how to push and pull code from a GitHub repository, collaborate with other developers, make pull requests, and resolve merge conflicts.

Learn hands-on full stack development with my flagship Udemy course:
https://www.udemy.com/course/learn-fu...

Git is an important part of most modern software development. Learning to use git from the terminal is an essential part of your toolbox as a professional developer!

If you have any questions, please leave them in the comments below!

If you enjoy videos about software engineering, machine learning, and DevOps, please subscribe to the channel!

▬▬▬▬▬▬ 👋 Get in Touch! 👋 ▬▬▬▬▬▬
Patreon ► https://bit.ly/pd-patreon
Facebook Group ► https://bit.ly/productive-dev-fb
My Twitter ► https://bit.ly/wesd-twitter
My LinkedIn ► https://bit.ly/wesd-linkedin

▬▬▬▬▬▬ ⏰ T I M E S T A M P S ⏰ ▬▬▬▬▬▬

0:00 - Intro
2:07 - Installation (Windows and macOS)
3:30 - git config (set up name and email)
4:50 - git init (create a local git repo)
7:22 - git status (check changes)
7:50 - git add -A (add all changes to staging)
8:22 - git commit -m (snapshot changes)
10:22 - git diff (see the diff of changes)
11:00 - git log (see all commits)
14:05 - create a GitHub repository
17:08 - git remote add origin and git push -u origin master (add the remote and push and track to master branch)
17:52 - git remote -v (see the remote urls)
18:00 - direction for setting up ssh with GitHub
20:00 - git clone (downloads a repository from a remote)
21:50 - two developer example workflow starts
25:20 - git pull (pull changes from remote for current local branch tracking remote)
25:29 - resolving a merge conflict
27:45 - git checkout -b (create a new branch)
29:56 - git branch (see local branches)
30:12 - git fetch (downloads commits, refs, files from remote to see the new branch)
30:28 - git checkout some-branch (switch to the branch with name some-branch)
32:16 - merging branches using GitHub pull requests
34:30 - git merge (join commit histories back together)


On this page of the site you can watch the video online Learn Git and GitHub Tutorial | Step by Step with a duration of hours minute second in good quality, which was uploaded by the user Wes Doyle 23 May 2020, share the link with friends and acquaintances, this video has already been watched 14,783 times on youtube and it was liked by 358 viewers. Enjoy your viewing!