Sign in to confirm you’re not a bot
This helps protect our community. Learn more

About this course

0:00

Introduction to the Git and GitHub

1:23

Installation of the Git and configuration of the Shell

8:30

Basic Shell commands

42:06

How Git works under the hood

1:10:07

Basic Git operations

3:15:51

Git branches and HEAD

4:19:24

Cloning, exploring and modifying public repositories

5:54:51

Merging branches

6:57:45

GitHub and remote repositories

8:24:06

Git push, fetch and pull

9:04:40

Push, fetch and pull

9:06:16

What is origin

9:12:38

List branches

9:16:56

What is tracking branch

9:20:00

Checkout remote branch

9:25:08

Git remote show origin

9:29:03

Git fetch in action

9:32:29

Git pull is 2-step process

9:38:51

How to perform git pull

9:42:45

What is FETCH_HEAD

9:48:02

Git pull with fast forward merge

9:56:27

Fetch remote changes manually

10:04:09

Merge FETCH_HEAD manually

10:13:18

Resolving conflicts during Git pull

10:19:24

Pushing to remote repository

10:31:22

Commit under another author

10:40:50

Branches are in sync now

10:43:42

Create remote branch from local

10:47:16

Update tracking statuses

10:56:08

Remove remote branch locally

11:04:15

Git show-ref

11:08:08

Summary

11:12:32
Git and GitHub Tutorial for Beginners [11 Hours]
🔥Full-length "Complete Git Guide: Understand and master Git and GitHub" course: 🔥https://stashchuk.com/git-and-github-... Welcome to complete Git and GitHub Tutorial for beginners. In this tutorial you will learn everything you need to know about Git and GitHub to professionally use it on a day-by-day basics. For your convenience I have added timestamps for all sections and lessons below. 📚TIMESTAMPS FOR SECTIONS: 00:00 About this course 01:23 Introduction to the Git and GitHub 08:30 Installation of the Git and configuration of the Shell 42:06 Basic Shell commands 1:10:07 How Git works under the hood 3:15:51 Basic Git operations 4:19:24 Git branches and HEAD 5:54:51 Cloning, exploring and modifying public repositories 6:57:45 Merging branches 8:24:06 GitHub and remote repositories 9:04:40 Git push, fetch and pull 📚TIMESTAMPS FOR LESSONS: 0:01:23 SECTION 1 0:02:51 Git vs GitHub 0:08:30 SECTION 2 0:09:12 Installing Git on MacOS 0:11:42 Installing Git on Windows 0:22:28 Installing Git on Linux 0:30:48 Installing iTerm2 on the Mac 0:36:25 Installing Z-Shell on the Mac 0:42:06 SECTION 3 0:42:50 Shell commands - directory management 0:52:34 Shell commands - file management 1:10:07 SECTION 4 1:11:03 Initialize new repository 1:15:28 Overview of .git folder 1:19:29 Git object types 1:22:32 Git hash-object 1:29:34 JSON vs Git database 1:33:31 What is hash function 1:37:23 Hash functions overview 1:40:53 SHA1 Hash Function 1:51:17 How many files Git could store 1:55:26 Probability theory in Dice game 1:59:37 Git hash collision probability 2:05:33 Git cat-file 2:11:01 Create new Blob based on the file 2:18:58 Git blobs don’t store filenames 2:21:38 Contents of Git objects 2:31:53 What we have so far 2:33:50 Tree objects in Git 2:36:53 Git object permissions 2:39:19 Creating Git Tree object 2:49:11 Examining Tree Object 2:54:04 Working directory, Staging area and repository 2:56:00 Overview of files distribution 2:59:50 Git read-tree 3:03:54 Git ls-files 3:05:52 Git checkout-index 3:09:10 How many folders could be created for objects 3:15:51 SECTION 5 3:16:43 What is Commit 3:20:56 Configure Git author name and email 3:24:46 Creating first commit 3:28:52 Exploring commit object 3:34:28 Current project state overview 3:39:36 Basic Git commands 3:43:27 Adding new file to working directory 3:49:10 Git files lifecycle 3:57:48 Stage file 4:00:04 Unstage file using git rm 4:03:02 Commit changes 4:05:09 Exploring changes in Git repository 4:13:03 Current diagram of Git repository 4:19:24 SECTION 6 4:20:36 Most common Git operations 4:27:02 Overview of the project state 4:28:26 Installing GitHub Desktop 4:32:02 GitHub Desktop Overview 4:37:01 What is branch in Git 4:43:58 What is HEAD in Git 4:49:30 Third commit 4:54:53 Git repository changes after third commit 5:02:05 Checkout specific commit 5:15:54 Why do we need branches 5:26:40 Git branches management 5:29:44 Create new branch 5:37:05 Commit changes in the new branch 5:41:40 Explore commit in the new branch 5:47:17 Git reuses blobs with the same contents 5:54:51 SECTION 7 5:55:46 Cloning remote repository 6:02:05 Exploring contents of the cloned repository 6:09:57 Unpacking Git objects 6:14:11 Exploring cloned repository in GitHub Desktop 6:19:30 Installing text editor Visual Studio Code 6:22:16 Exploring Visual Studio Code 6:28:30 Commit changes in the cloned repository 6:40:05 Git diff command 6:57:45 SECTION 8 6:58:59 Why branches merging is needed 7:02:46 Fast forward merge 7:07:02 Merging process 7:08:55 Fast forward merge in action 7:15:53 3-way merge 7:22:14 Performing 3-way merge 7:34:53 Git repository after 3-way merge 7:41:33 Installing SourceTree 7:45:41 SourceTree in action 7:52:16 What is merge conflict 7:55:21 Creating merge conflict 8:05:15 Observing conflicts 8:11:59 Resolving merge conflict 8:14:59 Resolving conflicts in VS Code 8:24:06 SECTION 9 8:25:02 What is Git hosting service 8:28:54 Creating GitHub account 8:32:27 Exploring repository at GitHub 8:43:27 Creating commit at GitHub 8:46:33 Creating new branch at GitHub 8:47:58 Making changes in the new branch 8:52:21 Cloning remote repository 8:57:41 What is remote repository 9:00:37 Empowering collaboration 9:04:40 SECTION 10 9:06:16 Push, fetch and pull 9:12:38 What is origin 9:16:56 List branches 9:20:00 What is tracking branch 9:25:08 Checkout remote branch 9:29:03 Git remote show origin 9:32:29 Git fetch in action 9:38:51 Git pull is 2-step process 9:42:45 How to perform git pull 9:48:02 What is FETCH_HEAD 9:56:27 Git pull with fast forward merge 10:04:09 Fetch remote changes manually 10:13:18 Merge FETCH_HEAD manually 10:19:24 Resolving conflicts during Git pull 10:31:22 Pushing to remote repository 10:40:50 Commit under another author 10:43:42 Branches are in sync now 10:47:16 Create remote branch from local 10:56:08 Update tracking statuses 11:04:15 Remove remote branch locally 11:08:08 Git show-ref 11:12:32 Summary

Follow along using the transcript.

Bogdan Stashchuk

232K subscribers