Learn Git – Full Course for Beginners

266,789
0
Published 2024-05-08
In this Git course for beginners, you will learn the essentials of version control to help you manage your projects more efficiently.

✏️ Course developed by ‪@HiteshChoudharydotcom‬

Code for React app: github.com/hiteshchoudhary/react-english

⭐️ Contents ⭐️
⌨️ (0:00:00) Introduction to GIT series
⌨️ (0:05:54) Git init and hidden folder
⌨️ (0:23:27) Git commits and logs
⌨️ (0:40:02) Git internal working and configs
⌨️ (1:07:47) Git merge and git conflicts
⌨️ (1:47:21) Git Diff and stashing
⌨️ (2:15:42) Git rebase is not that scary
⌨️ (2:37:24) Insight of pushing code to github
⌨️ (3:18:18) How to make Pull Request and Open Source contribution

Channel link:
youtube.com/c/HiteshChoudharydotcom

🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama

--

Learn to code for free and get a developer job: www.freecodecamp.org/

Read hundreds of articles on programming: freecodecamp.org/news

All Comments (21)
  • @mesachinjakhar
    00:01 Learn essentials of Version Control with Git 02:10 Understanding the workflow of git and the behind-the-scenes details. 05:53 Introduction to series on Git 07:53 Install Git for source control management 11:42 Git acts as a checkpoint system for file changes, allowing collaboration 13:41 Understanding the concept of repository in Git 17:25 Introduction to Git initialization and tracking 19:17 Exploring the structure of a git folder 22:51 Setting up working directory, staging area, and commits for code preparation 24:33 Introduction to Git ad command 28:04 Moving into the staging area with Git 29:51 Understand the importance of providing a commit message 33:35 Understanding why the terminal opened Vim for one user but not for another 35:20 Programmers often message directly in command line, not waiting for code Editor. 38:47 Debate about present vs past tense in commit messages 40:36 Git configuration file setup and gitignore usage 44:09 Configuring Git commands for user and email 45:51 Install code command in path for VS Code setup 49:36 Create a .gitignore file to secure sensitive information. 51:27 Using git ignore file to exclude files from tracking. 54:57 Learning how to use a .gitignore file effectively 56:56 VS Code plugins provide useful features for working with git and managing configurations. 1:00:37 A commit consists of a unique ID known as hash and related information. 1:02:31 Explore hidden files and directories using ls -la command 1:06:14 Importance of commit messages and repository logs 1:07:54 Focus on git branches and collaborative environment 1:11:29 Adding a new file to staging area and committing it in Git workflow 1:13:13 Understanding Git branches as alternative timelines 1:16:48 Creating and switching between branches in Git 1:18:39 Showing behind the scenes of git workings and branch pointers 1:22:13 Switching branches affects codebase 1:24:16 Understanding the concept of head in branch management 1:27:48 Learned about git branch command and shortcuts 1:29:33 Understanding merging of branches 1:33:15 Merged hero section and Navar into the main branch 1:35:02 Deleting the Navar Branch 1:39:00 Conflict in code management 1:41:16 Understanding conflict resolution in Git 1:44:37 Explaining the process of merging branches in Git 1:46:21 Merged footer branch successfully 1:49:49 G diff is not for comparing two different files; symbols may cause confusion. 1:51:34 Interchanging branches can result in symbol interchanges. Don't assume codes are removing or adding. 1:55:10 Understanding file changes and staging in Git. 1:56:57 Showing file changes before and after staging 2:00:35 Discussing git stashing and its workflow 2:02:25 Conflicting changes prevent branch switch without commit 2:05:54 Utilizing Git stash for efficient code management 2:07:54 Stashing changes can be moved between branches 2:11:35 Using 'git checkout' to move to a specific commit 2:13:23 Ways to move back in Git branches 2:16:55 Git rebase command can be divisive, but it's crucial to handle with care 2:18:35 Git rebase rewrites history and merges code into a single timeline. 2:22:10 Fixed navigation bar bugs 2:24:13 Merge main branch into bug fix branch 2:28:11 Rebasing a branch in Git with the master branch is important for maintaining clean commit history. 2:30:06 Branches will still exist even after more work on bug fix 2:34:01 Resolve conflicts using Git rebase 2:35:46 Understanding and best practices for rebasing 2:39:18 Be cautious about spamming, incident to be shared. 2:41:05 GitHub account setup and SSH key 2:44:36 Add SSH key to agent and set passphrase for Windows and Mac 2:46:18 Adding SSH key to GitHub account for communication 2:49:59 Initializing and managing Git repository 2:51:56 Creating a public repository with important commands 2:55:24 Configure git user information and SSH key for GitHub. 2:57:11 Add a remote repository using git remote add 3:00:43 Setting up remote repository for push and fetch 3:02:33 Understanding and setting Upstream for pushing code in GitHub 3:06:11 Learn how to clone a repo and work with branches on GitHub 3:08:07 Learn about git and GitHub basics 3:11:59 Understanding the flow of local and remote repositories 3:13:45 Understanding the difference between git fetch and git pull 3:17:17 Contribute with value, not spam 3:19:03 Open source is more than just sharing code on platforms 3:22:40 Talk to the founders and maintainers of the open source project. 3:24:21 Open an issue, get it assigned, work on adding value. 3:27:46 Quality contributions are crucial for job consideration. 3:29:26 Learn how to make pull requests for open source projects. 3:33:01 Creating and working on a new branch in Git 3:35:05 Initiate push to remote repository 3:38:52 Creating and reviewing a pull request 3:40:30 Overview of open source contribution on GitHub
  • @bibeksamal5300
    git commit - m "hello everyone one, this git course help me a lot, thanks you Hitesh bhai"
  • Thanks everyone for the support. Hope you will learn and use this knowledge in your development life. Follow me at X (twitter) for more updates. https://twitter.com/@hiteshdotcom
  • Hitesh Choudhary has God level knowledge, I really like his videos because of his professional and industrial approach of teaching
  • @AricYount
    This is perfect timing. I just started learning git to integrate it with software at work. Thank you!
  • @the_humble_lazy
    Happy seeing Hitesh here yet one more time, he is a real gem of a teacher, and he exactly knows what concepts one will miss and makes sure no one forgets that
  • @Iam_Eddking
    The first video i've completed from this channel. good and very useful stuff delivered in a concise way.
  • @user-ef3ez1lf2n
    Amazing course. Thanks a lot. Even though I work with git for approx 7 years, I was able to learn something new.
  • @freshlife782
    First time completely watched a video, coded along, can't express my happiness thank you so much ........... Mr. hitesh ♥
  • Just a minor correction at 2:14:02 : Get reflog just list logs of your git activity including commits hashes. It actually does not move you to your origin branch.
  • @hasiiabbasi
    Seriously, this is one of the best videos for beginners who want to learn more about Git from both practical and theoretical points of view.
  • I've watched just 54 minutes & I'm feeling so good that actually getting real knowledge and I'm able to practice alongside and get exact same files, folders etc. HE IS AN EXCELLENT TEACHER, I'm really thankful for such people providing this knowledge for free for all of us.... Really excited to complete the full tutorial.... It's really a must watch vedio. Thank you for your efforts looking forward for more vedios on this channel and on your personal channel.
  • @21linoo
    I have completed this Git course, and I must say it has been incredibly resourceful! The step-by-step instructions and clear explanations helped me understand Git concepts and workflows thoroughly. I now feel confident in using Git for version control in my projects. Highly recommended! Thanks Hitesh
  • @VincentDania
    Thank you Hitesh for this comprehensive tutorial on Git and Github. You are a great teacher
  • @gauravbawa5609
    awesome way to get started with git , you all gonna love the content
  • @functionc
    Nice! I was just watching the old video and thinking we need an update! Thank you!