Git & GitHub Crash Course

0:00 Introduction to the Course

1:04 What is Git & Version Control?

4:01 Git vs. GitHub Explained

5:41 Git Architecture: Local vs. Remote

9:37 Installing Git (Windows, Mac, Linux)

10:41 Terminal Setup & Verifying Installation

11:57 Creating a Local Project & Files

14:41 git init: Initializing a Repository

16:04 Creating a Remote Repository on GitHub

18:05 git clone: Cloning a Repository

20:20 git status: Tracking Changes

21:43 git add: Staging Changes

23:40 git add Variations (., -A, specific files)

24:30 git reset: Unstaging Files

30:22 git commit: Saving Changes Permanently

32:00 Configuring Git User Name & Email

34:13 git reset HEAD: Undoing Last Commit

35:32 git rm: Deleting Files

37:00 git rm --cached: Stop Tracking Files

39:50 git log: Viewing Commit History

40:58 Git Branching Explained

43:53 git checkout: Switching Branches

45:50 git merge: Combining Branches

47:43 Resolving Merge Conflicts

52:13 Checking Out Previous Commits (Time Travel)

54:26 git diff: Comparing Commits

55:50 Understanding Push, Fetch, and Pull

57:18 git push: Uploading to GitHub

58:43 git fetch vs. git pull

1:00:24 git restore: Discarding Local Changes

1:03:16 git stash: Saving Unfinished Work

1:09:47 git revert: Undoing Commits Safely

1:12:18 git rebase: Cleaning Up History

1:16:48 Pull Requests (PR) & Collaboration

1:19:57 Conclusion & Cheat Sheet