How To Learn Git In 2023

2024 ж. 22 Мам.
30 428 Рет қаралды

Do I need to know git? Is it different than GitHub? Git seems confusing and poorly made. Why would I need to know it? I know the basics of git. Is that enough? These are commonly asked questions. If you are a developer or an aspiring developer, you absolutely need to know git. If you want to get a job as a developer, you will almost certainly need to be skilled with git.
In this video, I will address why it is essential to know git or learn it in 2023. I will then walk you through the order to learn git in, how to learn it more effectively, and how to do so easily. I will also share with you a set of tips and tricks to learning git.
Full Training Courses: IAmTimCorey.com
Mailing List: signup.iamtimcorey.com/

Пікірлер
  • This kind of roadmap/goals/advice videos are fantastic! Keep them up! Fantastic content! Looking forward to some Domain Driven Design content sometime in the future! Happy new year!

    @andreaskonomis3@andreaskonomis3 Жыл бұрын
    • I am glad it was so helpful.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Really enjoying your "how to learn" set of videos. Gives a good overview of concepts that may have slipped through the cracks for folks who may even be already experienced with something.

    @TheVentureaaron@TheVentureaaron Жыл бұрын
    • Thank you!

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Just completed your course git start to finish. Worth every penny! Still referring to it as a reference tool. We’ll done!

    @Joe-ho6fo@Joe-ho6fo Жыл бұрын
    • I am glad it was helpful.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Thanks Tim, one of your videos on git got me started with it, makes life so much easier. One more tip for the list - when learning git on command line, it's worth making a new repo as a sandbox each time you want to test a new command. It's hard to lose work once it's in git but a new repo gives you another safety net (and added practice of creating and initialising new repos).

    @simon-white@simon-white Жыл бұрын
    • I would definitely recommend working with sample code or something else that you don't worry about losing. I never recommend testing new things in production.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
    • @@IAmTimCorey absolutely, this was mainly just me recalling the revelation my less experienced self had when he learned how easy it was to make new git repos for testing purposes - there's no excuse for not practicing.

      @simon-white@simon-white Жыл бұрын
  • Brilliant video, thanks very much Tim

    @NetMistro@NetMistro Жыл бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • I (a paying member) had suggested, through your suggestion website, to make a video on how to use Git through Visual Studio (with best practices) - as opposed via command line. I feel like this would be very helpful.

    @mannys12345@mannys12345 Жыл бұрын
    • Thanks for adding it to the suggestion site.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • I have 20 years in too…sometimes I learn something new from your videos, sometimes I don’t. But I still watch. I also send a lot of your videos to junior devs that work with me. Thanks for everything.

    @goodoleme747@goodoleme747 Жыл бұрын
    • I appreciate that!

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Hi. Just wondering if there is a reason your course does not include Visual Studio as a client? Is it more difficult than the others? Also, When using TFS with git, can you still use a command line?

    @ghauan@ghauan Жыл бұрын
  • That’s very useful, thanks a lot. Any chance you are doing the same quick overview regarding every brick of c# development? Like docker, azure, asp etc?

    @dmitrycx@dmitrycx Жыл бұрын
    • More are coming.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • I concur, you just have to learn it. I set up a gitea server on an old machine and am forcing myself to use Git for my projects so I have at least medium familiarity with it.

    @swordblaster2596@swordblaster2596 Жыл бұрын
    • Excellent!

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Love you Tim ❤️

    @ravishchauhan1@ravishchauhan1 Жыл бұрын
    • Thanks!

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Please forgive my measly donation. thank you and have a peaceful 2023.

    @peanut-d-cat@peanut-d-cat Жыл бұрын
    • Thank you! I really appreciate it.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • I'm not a developer, but I'm curious: Can Git (or something like It) be applied to projects totally separate from coding? As an example, I sometimes create/develop song arrangements. In the process, I may try many different versions with different key signatures, different combinations of instruments, different rhythmic feels, etc. Basically, I'm wondering if the principles of versioning can be generalized for other, unrelated purposes, sort of the way generic methods in C# take specific algorithms, etc. and generalize them. Any thoughts?

    @michaelnorris2522@michaelnorris2522 Жыл бұрын
    • Absolutely. Git is just a way to track changes in files. It does best with text-type files, but it can be used for change tracking on any files. Governments use Git to track changes in government documents.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
    • I actually have a private git repo just for notes/resumes stuff like that makes it super easy if you get a new computer or what have you

      @justinhoney1969@justinhoney1969 Жыл бұрын
  • I also would suggest you to study Git Internals. It would be so much easier for you to understand how Git works when you know the mechanism and the concepts behind it. The official Git documentation has a chapter called *Git Internals.* And there's also a great course on PluralSight called *How Git Works* by Paolo Perrotta P.S. If you think that Git commits contain code diffs, then the Git Internals chapter is for you. P.P.S. Thanks Tim for your work.

    @VeaceslavBARBARII@VeaceslavBARBARII Жыл бұрын
    • Thanks for sharing.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • I use Fossil (SCM) instead of Git for my hobby projects. Fossil is developed by D. Richard Hipp and used for maintenance of SQLite. The best part is that wiki, forum, ticket as well as a GUI is included. Fossil is like Git + GitHub in that sense, but all in one single EXE-file. The (CLI) commands are very similar to Git but is intended to be used by teams that know each other and everything is stored for history (rebase is not an option...).

    @MrManor63@MrManor63 Жыл бұрын
    • That's fine to do as long as you realize it isn't really preparing you to work at a job. If you aren't looking to get a job in software development, it isn't a problem.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • I actually found if there are merge conflicts, then a person is forced to start over again unfortunately. I had cases where if I did not do old fashioned backups first, I would have been out of luck of being able to push any more changes. That is actually a bug of git.

    @andywalter7426@andywalter7426 Жыл бұрын
    • I would HIGHLY recommend you learn how to resolve merge conflicts. If they cause you to start over, you are running away from the problem instead of learning how to solve it. That means you will run away for the rest of your life. That's not a healthy way to develop. And no, this is not a bug in Git. It is a bug in your understanding of how to use Git. Merge conflicts are going to happen. You can't be scared of them.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
    • Merge conflicts are very normal specially in a large project. why would you think it's a bug lol.

      @BG-vg5jd@BG-vg5jd Жыл бұрын
  • I both use Git CLI(usually from VS Code) and GitKraken. and i don't single out one of them. next video opinion: versioning (minor, major)

    @gugildak12@gugildak12 Жыл бұрын
    • 👍

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • I hate tutorials with to much talking, but I found this soothing

    @henrikekholm6437@henrikekholm6437 Жыл бұрын
    • Great!

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Source Control and pinning versions is a life saver. Once you know, you know. 🤣

    @bmiller949@bmiller949 Жыл бұрын
    • lol. I get that.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • My biggest hurdle with git is the command structure. There is no logic to it. You just have to remember them. And the error messages are ____. And yes, git is a must have knowledge for sure.

    @BryanChance@BryanChance Жыл бұрын
    • Give it time and work through understanding what is happening. When you do, the command structures make much more sense, and the error messages start to make sense as well.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Should you do the Git course before the C# course?

    @ellis715@ellis715 Жыл бұрын
    • Probably not, but it is ok either way. If you do C# first, you will have something to do with source control when you learn it.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Would you have suggested that for learning steps number 3 that a person actually create their own git app. In that case, you have the best of both worlds and you can do exactly what you want for the app.

    @andywalter7426@andywalter7426 Жыл бұрын
    • U

      @anibaljustiz1818@anibaljustiz1818 Жыл бұрын
    • If you want to try to create a little demo app to do that, that's fine. However, it isn't something I recommend because there will be a lot of wasted time fiddling with trying to get the UI right, etc. that won't be focused on learning Git.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Hello, dear tim, English subtitles are not active for me. English is not my native language, if you can enable it so that I can understand the video better . thanks and you are perfect !💯💯💯❤❤❤❤

    @Sina_Starr@Sina_Starr Жыл бұрын
    • Try refreshing the video. They are there and enabled. KZhead automatically adds English captions to all of my videos. I don't really have any control over them and I never turn them off. The only time they should be missing is if KZhead is having a problem.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
    • @@IAmTimCorey ❤‍🔥❤‍🔥❤‍🔥❤‍🔥✌

      @Sina_Starr@Sina_Starr Жыл бұрын
  • I migrate from subversion (TortoiseSVN) to GIT (TortoiseGIT) years ago.

    Жыл бұрын
    • Sounds like you had a good plan. Keeping the same GUI vendor probably made it easier.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Hey 💪💪

    @julmardegojaz8238@julmardegojaz8238 Жыл бұрын
    • 👍

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Short: practice with commands. Just do it!

    @blighthornsteelmace820@blighthornsteelmace820 Жыл бұрын
    • Absolutely.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Git's one of those things that's technically supposed to be better but we've had so many issues with GIT that we never had with other Source Code Repositories. I think it's more of a Source Code Suppository 😂

    @techsamurai11@techsamurai11 Жыл бұрын
    • It takes learning it to really understand how to use it. Otherwise, when you get into trouble, you feel overwhelmed.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
    • @@IAmTimCorey I agree, it's extremely important to know the difference between, say, checkout, revert, and reset hard. It's dangerous to use without knowing how it works. I felt a lot more comfortable with Soucesafe, Vault, and Kiln.

      @techsamurai11@techsamurai11 Жыл бұрын
  • "It seems poorly made." 😆 Understatement of 2023

    @kevingrems@kevingrems Жыл бұрын
    • The good news is that once you understand it, you will realize it is actually brilliant and incredibly well made.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Please make a .NET Maui Course :)

    @alsa91@alsa91 Жыл бұрын
    • Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Typically a "Tips & Tricks" video will include a walk-through, a demonstration of commands, and live examples that the viewer can emulate by typing along, not a pep talk about what and what not to do (although that's appreciated as well).

    @zezeandjr4110@zezeandjr4110 Жыл бұрын
    • Not all tips and tricks are the same.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
    • @@IAmTimCorey Still appreciate & love the content, thx. Keep it up..

      @zezeandjr4110@zezeandjr4110 Жыл бұрын
  • a software company that does not use git is a gargantuan red flag.

    @richardcalf8337@richardcalf8337 Жыл бұрын
    • In today's market? Definitely.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
KZhead