Learn Git - Full Course for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • 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/re...
    ⭐️ 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:
    / 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

ความคิดเห็น • 218

  • @bibeksamal5300
    @bibeksamal5300 14 วันที่ผ่านมา +10

    git commit - m "hello everyone one, this git course help me a lot, thanks you Hitesh bhai"

  • @AricYount
    @AricYount 14 วันที่ผ่านมา +38

    This is perfect timing. I just started learning git to integrate it with software at work. Thank you!

  • @HiteshChoudharydotcom
    @HiteshChoudharydotcom 14 วันที่ผ่านมา +168

    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.
    twitter.com/@hiteshdotcom

    • @soumadip_skyy_banerjee
      @soumadip_skyy_banerjee 12 วันที่ผ่านมา +3

      ❤❤❤

    • @gurvinder1613
      @gurvinder1613 10 วันที่ผ่านมา +1

      Thank u sir for all the knowledge

    • @kyawlin4812
      @kyawlin4812 7 วันที่ผ่านมา

      Thank you. You are the best teacher ❤

    • @AmitSinghad
      @AmitSinghad 6 วันที่ผ่านมา

      Og is here

  • @samueledariese6878
    @samueledariese6878 14 วันที่ผ่านมา +33

    God bless you all for these free tutorials 🙏🏾🙏🏾

  • @the_humble_lazy
    @the_humble_lazy 14 วันที่ผ่านมา +13

    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

  • @arkajyotinaskar2858
    @arkajyotinaskar2858 14 วันที่ผ่านมา +112

    Hitesh Choudhary has God level knowledge, I really like his videos because of his professional and industrial approach of teaching

    • @arkajyotinaskar2858
      @arkajyotinaskar2858 14 วันที่ผ่านมา +5

      Currently my semester exam is going on and I'll have 2 month break before placement starts, I'll binge watch his nextjs playlist:)

    • @usmansaeed6750
      @usmansaeed6750 10 วันที่ผ่านมา +1

      It seems you have no knowledge at all thats why you thinking like this

  • @mesachinjakhar
    @mesachinjakhar 13 วันที่ผ่านมา +12

    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

  • @freshlife782
    @freshlife782 12 วันที่ผ่านมา +5

    First time completely watched a video, coded along, can't express my happiness thank you so much ........... Mr. hitesh ♥

  • @user-ef3ez1lf2n
    @user-ef3ez1lf2n 13 วันที่ผ่านมา +4

    Amazing course. Thanks a lot. Even though I work with git for approx 7 years, I was able to learn something new.

  • @hasiiabbasi
    @hasiiabbasi 14 วันที่ผ่านมา +1

    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.

  • @gauravbawa5609
    @gauravbawa5609 14 วันที่ผ่านมา +1

    awesome way to get started with git , you all gonna love the content

  • @shayanali7672
    @shayanali7672 14 วันที่ผ่านมา +13

    Chai aur Code ❤

  • @functionc
    @functionc 14 วันที่ผ่านมา +2

    Nice! I was just watching the old video and thinking we need an update! Thank you!

  • @MahimaBabani
    @MahimaBabani 13 วันที่ผ่านมา

    I had been waiting for this tutorial for a long time, and today I finally got it!!! Thank you so much sir..Your explanations are so clear and easy to understand.

  • @sairithvickgummadala2688
    @sairithvickgummadala2688 14 วันที่ผ่านมา

    I was just looking for a beginners course on Git and I have it! This channel is doing God's work for me

  • @aldrinseanpereira140
    @aldrinseanpereira140 14 วันที่ผ่านมา +9

    Finally!! An updated beginner course on something as important as git

  • @andycgn1991
    @andycgn1991 13 วันที่ผ่านมา +1

    Hey Hitesh,
    thank you very much for your work. That was a useful 3.75 hours invested in your course. I'm not a beginner but I was still able to learn a lot more.

  • @dilipchapagain836
    @dilipchapagain836 11 วันที่ผ่านมา +1

    Hithesh choudhary is best instructor ❤

  • @udaytewary3809
    @udaytewary3809 14 วันที่ผ่านมา

    His way of teaching is really great he teaches the inner working so that we get a real feel of the topic and ur voice of teaching is just amazing ❤❤

  • @aniationcoding918
    @aniationcoding918 9 วันที่ผ่านมา +1

    Thanks for soo much for bringing this much knowledge for free. It will really help me a lot in order to become a good programmer.😊

  • @toncizizic
    @toncizizic 13 วันที่ผ่านมา +5

    On 25:48 the extension is Git Graph not Git Lens

  • @MuhammadAli-hh9td
    @MuhammadAli-hh9td 14 วันที่ผ่านมา +2

    One of the best teacher I have ever seen, When I first check his channel that time i was just average newbie of js now I'm a mern dev just because of him hitesh Chaudhary, chai aur code

    • @shubhamgattani5357
      @shubhamgattani5357 10 วันที่ผ่านมา

      Kya baat bro!

    • @MuhammadAli-hh9td
      @MuhammadAli-hh9td 10 วันที่ผ่านมา

      @@shubhamgattani5357 bhai na ker 2 ghante say debugg ker raha hu sala error kidhar ha or ekta tumhara comment ka popup

    • @shubhamgattani5357
      @shubhamgattani5357 9 วันที่ผ่านมา

      @@MuhammadAli-hh9td Ye lo ek aur pop-up aaya! Khuda Hafiz 😄

    • @MuhammadAli-hh9td
      @MuhammadAli-hh9td 9 วันที่ผ่านมา

      @@shubhamgattani5357 solved hugaya bro error

  • @nimmerwo
    @nimmerwo 2 วันที่ผ่านมา

    Thank you Hitesh, very good easy to follow course!

  • @HarshShah465
    @HarshShah465 12 วันที่ผ่านมา +1

    Hitesh ) Choudhary great explaination sir!!

  • @leythecg
    @leythecg 13 วันที่ผ่านมา

    Absolutely awesome in presentation and content! many thanks!

  • @kelvinmacharia3715
    @kelvinmacharia3715 7 วันที่ผ่านมา +1

    This a great. One yeat developer experience and this course is a greater refresher. There is always something new to learn👏

  • @pranavgupta9939
    @pranavgupta9939 14 วันที่ผ่านมา

    One of the best teacher, i have ever seen on youtube

  • @naturevibes5388
    @naturevibes5388 14 วันที่ผ่านมา

    Needed this, Thanksss

  • @Chief_Avy
    @Chief_Avy 11 วันที่ผ่านมา +1

    its nice seeing hitesh here.....i learned a lot from this but i was thinking whenever i do git pull some problem occurs and i would loved if he would have taught that too idk if the videos get edited and re uploaded but yeah

  • @mdsonualam8408
    @mdsonualam8408 14 วันที่ผ่านมา

    I have been working for quite a time now, and everytime hitesh sir brings something, it's a new learning experience 🎉🎉❤🚀🚀

  • @anthonydrakefordshadow
    @anthonydrakefordshadow 14 วันที่ผ่านมา

    This is exactly what I need ❤ thank you 🙏

  • @aakashjha3150
    @aakashjha3150 5 วันที่ผ่านมา +1

    Dhanyawad Hitesh bhai 🙏🙏

  • @sarthakpatwari7988
    @sarthakpatwari7988 12 วันที่ผ่านมา +1

    another video on my weekend playlist !!

  • @sabbirhossan3499
    @sabbirhossan3499 14 วันที่ผ่านมา

    Hitesh sir is very good teacher.

  • @2ru2pacFan
    @2ru2pacFan 6 วันที่ผ่านมา

    Wow thank you FCC and Hitesh, amazing teacher and I've experienced in using Git but still learnt something. Thank you ✨

  • @erfaizankakpori
    @erfaizankakpori 14 วันที่ผ่านมา

    Honestly from the core of my Heart, brother you are really awesome in everything.
    I paid 2 lacs for online course but I couldn't understand easily there. From the time I started learning from your Videos now I feel it very easy to learn and understand easily.
    Thank you soo much brother for your effort.

  • @abhishekkumarjha4314
    @abhishekkumarjha4314 14 วันที่ผ่านมา

    Awesome content sir .. Loved it ❤

  • @tarunsingh2480
    @tarunsingh2480 14 วันที่ผ่านมา

    A true gem for upcoming software engineers🔥

  • @learnwithsuyashshukla8347
    @learnwithsuyashshukla8347 14 วันที่ผ่านมา +1

    Perfect educator ....❤

  • @PritiGupta-yv3pt
    @PritiGupta-yv3pt 14 วันที่ผ่านมา

    After completing your backend series I'll definitely watch this tutorial ☺️

  • @Sanakhatir
    @Sanakhatir 14 วันที่ผ่านมา

    One of most talented teacher ❤😊

  • @kaushalgupta1049
    @kaushalgupta1049 14 วันที่ผ่านมา

    Love your way of teaching

  • @quickmathematics9804
    @quickmathematics9804 14 วันที่ผ่านมา

    Hitesh sir one of the best coding teacher ❤

  • @ashishkrpal4010
    @ashishkrpal4010 14 วันที่ผ่านมา

    What a fantastic Git tutorial by @Hitesh Sir on the FreeCodeCamp TH-cam channel!
    His teaching style makes complex concepts easy to understand, and the step-by-step approach really helps beginners grasp Git fundamentals. I especially appreciated how he broke down branching and merging-it's such a crucial aspect of version control, and he made it so clear. Can't wait to implement these techniques in my own projects. Thanks for the invaluable lesson, Hitesh Sir and FreeCodeCamp! 🚀👨‍💻

  • @myblog8751
    @myblog8751 14 วันที่ผ่านมา +1

    One of the best mentors on TH-cam, not only helps in learning latest tech skills but also builds confidence to build things on our own

  • @amarjitpradhan9230
    @amarjitpradhan9230 14 วันที่ผ่านมา

    Happy to see you sir❤

  • @anujupadhyay7194
    @anujupadhyay7194 14 วันที่ผ่านมา

    Hitesh sir is an amazing teacher

  • @Abhishek-2727
    @Abhishek-2727 14 วันที่ผ่านมา

    Hitesh sir one of the best teacher❤

  • @iamtharunraj
    @iamtharunraj 14 วันที่ผ่านมา +1

    OMG. I was waiting for a git tutorial! Thank you! ❤

    • @NBGTFO
      @NBGTFO 14 วันที่ผ่านมา +1

      There are multiple out there. Not sure why they felt the need to make yet another one.

    • @iamtharunraj
      @iamtharunraj 14 วันที่ผ่านมา

      ​@@NBGTFOI don't actually understand from all those. Also, I love Hitesh's way of teaching. I've been searching for Git tutorials online for a long time but couldn't find one that actually fits my way

    • @ksubramanyeshwara
      @ksubramanyeshwara 14 วันที่ผ่านมา

      @@NBGTFO Very well said. People are becoming fools day by day

    • @KoushikDas2005
      @KoushikDas2005 14 วันที่ผ่านมา +1

      ​@@ksubramanyeshwarafools ? If a person wants to revise then it's better to do it from the tutor from whom he is familiar to

    • @KoushikDas2005
      @KoushikDas2005 14 วันที่ผ่านมา +1

      ​@@NBGTFOno one asked you to watch it completely.
      It will help other beginners out there.

  • @riteshbisht0903
    @riteshbisht0903 14 วันที่ผ่านมา +1

    Thank you #freecodecamp
    Please Upload more videos with Hitesh sir 🎉

  • @idahodz
    @idahodz 14 วันที่ผ่านมา

    One of the greatest teachers 🙏🏻

  • @nope598
    @nope598 14 วันที่ผ่านมา

    Hitesh is our hero who teaching courses in advance level

  • @kabilann5903
    @kabilann5903 12 วันที่ผ่านมา +1

    Much needed one!!

  • @vishwanath-ts
    @vishwanath-ts 14 วันที่ผ่านมา

    Correct time, I was searching for the best Git tutorial.

  • @pranavac-bg6ks
    @pranavac-bg6ks 14 วันที่ผ่านมา

    Much needed❤

  • @abhishekkumarjha4314
    @abhishekkumarjha4314 14 วันที่ผ่านมา +1

    Content is much better than the paid courses❤❤

  • @nayan7065
    @nayan7065 14 วันที่ผ่านมา

    Thank you sir You teaching is great

  • @mihirgohil7168
    @mihirgohil7168 14 วันที่ผ่านมา

    🎉 absolutely loved the video

  • @KamilFullStack
    @KamilFullStack 14 วันที่ผ่านมา +1

    greetings from Poland ♥

  • @dheerajbaheti
    @dheerajbaheti 14 วันที่ผ่านมา

    Really need of this video
    Helpfull!!

  • @adarshagnihotri3449
    @adarshagnihotri3449 14 วันที่ผ่านมา

    Will make sure to learn git from hitesh sir this week

  • @mohammedmarshal8063
    @mohammedmarshal8063 11 วันที่ผ่านมา +2

    Hitesh sir army, give a thumbs up!❤️

  • @Muwahid999
    @Muwahid999 14 วันที่ผ่านมา

    Excellent mentor.

  • @kyawlin4812
    @kyawlin4812 7 วันที่ผ่านมา

    Very very very nice tutorial. Thank you free code camp ❤

  • @austinmyer
    @austinmyer 14 วันที่ผ่านมา

    It's a must learn for every techie

  • @anandshinde0358
    @anandshinde0358 14 วันที่ผ่านมา +1

    Thank you so much sir❤❤❤

  • @SuryaKarigar
    @SuryaKarigar 13 วันที่ผ่านมา

    Awesome Guruji 😍😍

  • @honesmartyy
    @honesmartyy 14 วันที่ผ่านมา

    Nice video lots of learning 🎉🎉

  • @MohammedHasmi577
    @MohammedHasmi577 14 วันที่ผ่านมา

    Jaha bhi jaoge hitesh sir ko hi paoge big fan of hitesh sir ❤❤

  • @intuitivej9327
    @intuitivej9327 7 วันที่ผ่านมา

    fantastic explanation... wow;;;

  • @saurabhpuran
    @saurabhpuran 14 วันที่ผ่านมา

    Love your content sir

  • @aagebadhee
    @aagebadhee 14 วันที่ผ่านมา

    love to see again hitesh sir ❤❤❤❤❤❤

  • @LakhiHalwai
    @LakhiHalwai 14 วันที่ผ่านมา

    Heads-up ! Came from Hitesh'd channel 😁

  • @ruggymango
    @ruggymango 14 วันที่ผ่านมา

    So helpful!

  • @babulalsk8363
    @babulalsk8363 14 วันที่ผ่านมา

    Hye sir I am so happy to see u here

  • @manishdhariwal543
    @manishdhariwal543 14 วันที่ผ่านมา

    Great video ❤

  • @hamaadafzal2490
    @hamaadafzal2490 14 วันที่ผ่านมา +2

    Hitesh sir kindly make a complete react js course

  • @CMMubeen
    @CMMubeen 14 วันที่ผ่านมา

    So amazing video ❤

  • @Ar4an
    @Ar4an 12 วันที่ผ่านมา +2

    Hitesh ❤

  • @CraigMullins1
    @CraigMullins1 14 วันที่ผ่านมา +2

    18:57 - what happens if you hit git init again on an old project?

    • @NoName10920
      @NoName10920 9 วันที่ผ่านมา

      straight from the git docs:
      Running git init in an existing repository is safe. It will not overwrite things that are already there. The primary reason for rerunning git init is to pick up newly added templates (or to move the repository to another place if --separate-git-dir is given).

  • @usports2025
    @usports2025 14 วันที่ผ่านมา

    amazing thank you very much

  • @__singhayush__
    @__singhayush__ 14 วันที่ผ่านมา

    One legend with another 🔥

  • @TheRikyregna
    @TheRikyregna 9 วันที่ผ่านมา

    great video, thx

  • @h20-vi6zd
    @h20-vi6zd 13 วันที่ผ่านมา

    The way he teaches....... ❤

  • @Rahmanullah-qy7rd
    @Rahmanullah-qy7rd 14 วันที่ผ่านมา

    It's really amazing ❤❤❤❤❤❤

  • @ankitjain171
    @ankitjain171 14 วันที่ผ่านมา

    Good knowledge meets goods audience

  • @nothing-dz2ub
    @nothing-dz2ub 14 วันที่ผ่านมา

    Thank you ❤

  • @raghavenderkuppireddy7158
    @raghavenderkuppireddy7158 14 วันที่ผ่านมา

    Thank you ❤❤❤❤

  • @prawinyadav6629
    @prawinyadav6629 14 วันที่ผ่านมา

    This man is osm❤

  • @keerthiraj3498
    @keerthiraj3498 14 วันที่ผ่านมา

    Hitesh Sir everywhere❤

  • @varenya4629
    @varenya4629 14 วันที่ผ่านมา

    Hitesh is what we want ❤🎉

  • @faisaljehan-nr7yp
    @faisaljehan-nr7yp 14 วันที่ผ่านมา

    Great sir

  • @kissslayyy
    @kissslayyy 14 วันที่ผ่านมา +1

    Chai aur code gang rise up

  • @arnd12940
    @arnd12940 14 วันที่ผ่านมา

    Hitesh sir is the great 🎉🎉🎉

  • @KoushikDas2005
    @KoushikDas2005 14 วันที่ผ่านมา +1

    Chai Aur Code ❤❤❤❤❤

  • @AnilBanoth-vh4wh
    @AnilBanoth-vh4wh 9 วันที่ผ่านมา

    Thank you so much

  • @shahilchoudhary4008
    @shahilchoudhary4008 14 วันที่ผ่านมา

    Hitesh Sir🙌🙌

  • @Tylor_Rodriguez
    @Tylor_Rodriguez 14 วันที่ผ่านมา +1

    Hitesh be like : jaha bhi jaoge hame hi paoge😂

  • @vaibhavverma6813
    @vaibhavverma6813 14 วันที่ผ่านมา

    Hitesh Sir never disappoints us. He is probably one of the best educators on youtube.❤

  • @muhammadbijjar5009
    @muhammadbijjar5009 14 วันที่ผ่านมา

    Thanks sir