Git and GitHub for Beginners: GitHub basics, and how to use GitHub Desktop

Want to use GitHub, but can't really figure it out? In this video, I look at the basics of using GitHub, including using GitHub Desktop. It's a nice application that lets us use GitHub without needing to dive into the command line, but it's not super obvious how to use it right away.
In this video, I look at how you can create a new repository in GitHub Desktop with an existing project of yours, how to create a branch, and how to merge that new branch back into your master branch.
Also, I look at what it means to Fork a project, and how to do just that!
If you just want to jump to this part, it starts at 16:59.
--
If you'd like to see some behind the scenes stuff and get some teasers for what's coming up next, Twitter and Instagram are a good bet.
Find me on Twitter: / kevinjpowell
and on Instagram: / kevinpowell.co

Пікірлер: 121

  • @HearthandHeartNY
    @HearthandHeartNY5 жыл бұрын

    You have saved the experienced programmers in the office in which myself and another intern are working on our first collaborate project a ton of extra work teaching us how to use GitHub. Thank you!

  • @tzuriteshuba2704
    @tzuriteshuba27045 жыл бұрын

    amazing! literally answered my questions as i was thinking them. voice sounds clear too, i can watch in double speed and understand clearly.

  • @tracykidd5083
    @tracykidd50835 жыл бұрын

    Thank you so much for the awesome tutorial. Learning GitHub was driving me crazy but you explained everything clearly and concisely! I think I got it now! You are awesome at instructing!

  • @vaniapsk
    @vaniapsk5 жыл бұрын

    Thank you so much! I always wondered how github worked and you have answered all my questions!

  • @StephanieTihanyi
    @StephanieTihanyi5 жыл бұрын

    So glad I found this, thanks so much Kev!

  • @Blazephoenix
    @Blazephoenix5 жыл бұрын

    This was really helpful. Thanks Kevin

  • @Anna36936
    @Anna369362 жыл бұрын

    This has been extremely helpful. Thank you, Mr. Powell!

  • @Elator11777
    @Elator117777 жыл бұрын

    Very helpful, insightful and simply awesome! Thank you Kevin, your channel deserves a million subscribers!

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Haha, thanks Andrey! I'm gaining subs faster now than I ever thought, so I'm (very slowly) on my way to a million!!! Haha. Honestly though, I'm just happy if whoever stumbles across my stuff finds it useful, whether that's the 2.5k we're at now, or however many end up in the future :).

  • @johncromo6496

    @johncromo6496

    Жыл бұрын

    I think that comment aged well. He‘s on the way to 1 million subs

  • @dadagideon6622
    @dadagideon66222 жыл бұрын

    You teach so well, I understood this so easily.

  • @gonzaotc
    @gonzaotc2 жыл бұрын

    Excellent video. Thanks you so much Kevin!

  • @mac8911
    @mac89116 жыл бұрын

    This helped me out a lot Kevin. Thanks for the video.

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    No problem, glad it helped Michael!

  • @amina___6443
    @amina___64437 жыл бұрын

    Thank you so much! This is exactly what I was looking for!

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Awesome, glad to hear that Jane!

  • @jepoystaines
    @jepoystaines7 жыл бұрын

    Thanks for sharing your knowledge in Github Desktop. I learned a lot

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Awesome, glad to hear it!

  • @Renaissancegenii1999
    @Renaissancegenii1999 Жыл бұрын

    kelvin you are a blessing to humanity keep up the good work.

  • @afsanazamannipa7711
    @afsanazamannipa77115 жыл бұрын

    A big Thumbs Up for this video! Thank You.

  • @Pareshbpatel
    @Pareshbpatel6 жыл бұрын

    Great intro. Thanks, Kevin.

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    No problem, glad you liked the two videos :)

  • @gmailaaaa
    @gmailaaaa3 жыл бұрын

    Amazing video! I have seen a number of videos to get me started with GitHub because I was tired of uploading versions of my project on OneDrive. But it's your video that finally worked for me. I have one query though. If I make my upload private, how safe will it be? Will anyone be able to see or fork or even clone that on their PC?

  • @aravindvarma5679
    @aravindvarma56794 жыл бұрын

    Amazing. Thank you sir!

  • @spacewalklima9784
    @spacewalklima97842 жыл бұрын

    thank you. This was useful.

  • @ginabrewer8141
    @ginabrewer81415 жыл бұрын

    Super video, brilliant for beginners

  • @KevinPowell

    @KevinPowell

    5 жыл бұрын

    Thanks!

  • @nurullahcebeci6917
    @nurullahcebeci69174 жыл бұрын

    Clean explanation, thanks :)

  • @mayuraggarwal5763
    @mayuraggarwal57636 жыл бұрын

    Great video sir. Exactly what I was looking for past few days:) thnx for the help.

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    Awesome, glad it helped!

  • @mayuraggarwal5763

    @mayuraggarwal5763

    6 жыл бұрын

    Kevin Powell sir is it possible to add new files into existing repo. If yes how?thnx in Advance:)

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    As long as it's your repo, if not you'd have to put in a pull request and the owner of the repo would have to pull them in. If not, you just add them to your local folder, then push the changes to your repo :)

  • @LemmorNuique
    @LemmorNuique7 жыл бұрын

    Thank you, now I understand a little about GitHub

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Awesome, I'm glad it could help. Try using it for some of your own projects just to get a bit more of a swing of using it. Practice is always best!

  • @jmfda00
    @jmfda006 жыл бұрын

    I just want to say a big thank you !

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    No problem, glad you liked it!!

  • @abirishtiaque9749
    @abirishtiaque97496 жыл бұрын

    Thank you very much for the video !

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    No problem!

  • @SoulStitch1111
    @SoulStitch1111 Жыл бұрын

    I appreciate this. Cleared up a lot of confusion. It certainly gives me food for thought at 4am. Time for bed.

  • @jamesschein
    @jamesschein2 жыл бұрын

    So useful! I feel I’m edging slowly towards becoming a bonafide developer. Thanks!

  • @getsomebud

    @getsomebud

    2 жыл бұрын

    proud of you

  • @getsomebud

    @getsomebud

    2 жыл бұрын

    proud of you

  • @deyjishnu
    @deyjishnu7 жыл бұрын

    Great video. Very Helpful

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Awesome, I'm glad it helped Jishnu!

  • @mohamedh.394
    @mohamedh.3944 жыл бұрын

    When I try to drag a folder to use a local repo, it gives me a "This directory does not appear to be a git repository" error. I'm not sure how to get around it.

  • @samanarianpour6559
    @samanarianpour65594 жыл бұрын

    best tutorial ever!

  • @lambo-ca
    @lambo-ca4 жыл бұрын

    That was amazing. Thanks man Luv from #Indonesia

  • @renderdreality
    @renderdreality7 жыл бұрын

    What I really missed in this tutorial is pulling a master to my local. I am currently following a project on Github, I am not a programmer, so I wait for them to update changes then manually download the files to my computer and overwrite my local files. I have installed the desktop, but I don't know how to do it in the app. Could you leave a comment explaing how or a video? Thank you in advance.

  • @allsmiles3281
    @allsmiles32817 жыл бұрын

    Just downloaded to do some SQL work Thank you!

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Awesome, have fun with the SQL work and I hope the video helped a little!

  • @axclelibronviray1262
    @axclelibronviray12623 жыл бұрын

    Hello sir, thanks for this wonderful tutorial :) ... I have a question... if the leader merge an another branch to the master, will my branch copy also those changes? or I need clone again the latest version of master ?

  • @egesaglam3285
    @egesaglam32857 жыл бұрын

    You are the best thanks for tutorial

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Thanks! Glad you liked it!

  • @zunelmhrz3040
    @zunelmhrz30406 жыл бұрын

    what is the version of Github desktop?? I had little different view of template so having trouble of finding some buttom like pull request, branches......

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    This was an older version, they've updated it and made some UI changes, though the functionality is still similar, you may have to dig around to find some of the stuff

  • @FamousEgyptboy
    @FamousEgyptboy6 жыл бұрын

    Very Nice Video !

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    Thanks Zeyad :D

  • @dominicdecarvalho5520
    @dominicdecarvalho55204 жыл бұрын

    it makes sense now!

  • @rohankokatanur6426
    @rohankokatanur64264 жыл бұрын

    @Kevin POwell , please tell me the version of the github desktop app you used ,currently i have 2.4.2 installed , which is a lot different , so knowing the version would help

  • @cubespeed100
    @cubespeed1002 жыл бұрын

    when you make the comments about changes you make to the branch, do you do this for every change? or would you typically comment about a group of changes? thanks!

  • @ofalae13
    @ofalae134 жыл бұрын

    blank basic template folder that we are going to use at 3:20. do i have to make that? or is it downloaded w the github? n if i gotta make it how

  • @nitrotech9701
    @nitrotech97017 жыл бұрын

    nice work.Thank you

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    No problem at all, I'm glad you liked it 😊

  • @nitrotech9701

    @nitrotech9701

    7 жыл бұрын

    alright big bro.we need more tutorials, u always do great works.

  • @mecharenastuff
    @mecharenastuff Жыл бұрын

    Is there any way to customize my personal dashboard? I'm so close to creating the perfect workflow, I just need to edit what shows up in the "browse activity" section!

  • @adriencarreras5486
    @adriencarreras54864 ай бұрын

    Thanks for the tutorial! Is this still up to date? I see a lot of Git tutorials that use the command prompts and it's all super confusing to me. Can I just use GitHub Desktop and GitHub to publish my websites?

  • @sparshnagpal1509
    @sparshnagpal15093 жыл бұрын

    Wow, didn't come across a better explaination

  • @JJ29621
    @JJ296217 жыл бұрын

    Hi Kevin, thanks for the vid. So we can do it all without using the command line? Why is the command line referred to so much if we can just use Github this way?

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Awesome question James! As a designer who moved into the front-end world, I love using the desktop app (which of course has changed since I made these videos, but the concepts are the same). In the developer world, the command line is very present though, as you can use it for so many things. Once you get good at it, you can do a lot of things really fast, from installing frameworks, things like Sass and other compilers, auto-refresh, uglify JS and much, much more. It's powerful stuff, and probably worth looking into. Is there anything wrong with using the desktop app? Not in my opinion, but if you want to get into this as a career, at one point you'll probably want to dive into the command line.

  • @garrettbaker2320
    @garrettbaker23207 жыл бұрын

    Thanks for the video. I've been taking front-end classes and they all seem to end up with git and heroku. What I can't understand is, when just doing a simple project that involves only HTML/CSS/JS, the editor won't allow changes to be saved without manually overwriting them. Additionally, my computer has slowed to a crawl. I cannot find these answers anywhere. Thanks in advance.

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    I honestly have no idea. What editor are you using? And it shouldn't be using enough resources to slow down your computer!

  • @garrettbaker2320

    @garrettbaker2320

    7 жыл бұрын

    Thanks for your reply. I'm using Brackets, Atom, and Sublime. They all eventually start dragging. It might be the fact that I'm developing out of a common("Sites") folder. I likely need a .gitignore file. But your tutorial was helpful. Thanks again!

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    That is strange. Is your main sites folder open in any of these, or do you open individual projects within that folder? Not that I think that would effect it.

  • @eaminarafat9130
    @eaminarafat913010 ай бұрын

    kevin brothers problem my git installation ... for error message ... line 3369 cloud not reconfigure scalar enlistments (no output ) solution suggest please kevin bro

  • @leomardo2285
    @leomardo2285 Жыл бұрын

    I am using Github Version 3.2.4 (x64) but it does not show the visualization of the branch. Was this feature removed or only on certain OS level?

  • @melvinnnadi6376
    @melvinnnadi6376 Жыл бұрын

    Good day Kevin, I'm Melvin from Nigeria. been trying to get a link that doesn't show the code but shows the design instead. Don't know if it possible to do. If it is, I would really need your help and by the way, unknown to you, you have been my teacher for frontend html. wanna thank you alot.

  • @habibahmed3218
    @habibahmed32186 жыл бұрын

    hello kevin i just want how to download install node.js npm git and bower lost of time i see in youtube and i try it but it not working

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    I wouldn't go with Bower now, it's not being supported anymore, but npm and git are still very big! To get node and npm, just goto nodejs.org, download the installer and install it, then you're ready to use npm!

  • @eukelarTV
    @eukelarTV3 жыл бұрын

    What is the advantage of using the terminal or git bash (windows terminal is garbage) if this is so simple to use ?

  • @m.thokoly1658
    @m.thokoly16585 жыл бұрын

    my desktop github doesn't show this ilustration on black background. Could somebody give me an advice what should I do to have it. Maybe settings or different version (my one is 2.0.4) of software. Thanks

  • @KevinPowell

    @KevinPowell

    5 жыл бұрын

    I had an older version of GitHub's desktop app in this video

  • @haowang8846
    @haowang88466 жыл бұрын

    hi Kevin, thanks for your video. If I use my account to login github desktop and connect your github project. I write some code , and commit the code. I got error message :Authentication failed. You may not have permission to access the repository. Open options and verify that you are singed in with an account that has permission to access this repository. I can download the code. but i can not publish branch. what's wrong? thanks

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    Because it's my repository, you can't make changes to it, unless I add you as a contributor. What you can do is a fork of my repository. That will copy it to your account. Then you can make any changes you want, and if you make something you think should be done to mine, you can put in a pull request. I can see what your proposing, and if I agree, I can pull those changes in.

  • @haowang8846

    @haowang8846

    6 жыл бұрын

    thanks for your reply

  • @TheCzemp
    @TheCzemp7 жыл бұрын

    Hi, I have a stupid question.I am using atom editor and git plus addon. Is there any way I can create new repo within atom or it need to be done via git terminal/git hub desktop and add to atom?

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    No question is stupid! But I honestly don't know the answer, I never used the Git Plus... I do know with the beta version of Atom (you can get it here atom.io/beta ) They've added Git integration, and you can create repositories directly from Atom (and pull / push and all that). It'll probably be pushed to the normal version in the not too distant future.

  • @TheCzemp

    @TheCzemp

    7 жыл бұрын

    Thanks Kevin ,I will try it. Btw awesome content, I learnt a lot from You,Big Up:D

  • @KevinPowell

    @KevinPowell

    7 жыл бұрын

    Thanks alot!

  • @avinash-tripathy
    @avinash-tripathy6 жыл бұрын

    what is the diff bw github and gitlab?

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    Two different companies providing 'cloud' Git version control.

  • @staylo2844
    @staylo28443 жыл бұрын

    How can you close out one project in Git Desktop without deleting it?

  • @ajmalsaleem672
    @ajmalsaleem6722 жыл бұрын

    Hi... Can you make tutorial of using git and github with source tree

  • @technicalilm8999
    @technicalilm89996 жыл бұрын

    helpful

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    Glad to hear that Ahmar!

  • @decimo7545
    @decimo75453 жыл бұрын

    For some reason, I can publish stuff privately without paying anything. Does anyone know what is going on? Is it for free now?

  • @mrt2512
    @mrt25126 жыл бұрын

    Cant find the osx anywhere....

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    the OSX version of github desktop?

  • @mrt2512

    @mrt2512

    6 жыл бұрын

    No sorry, I meant there's no OSX option in the git ignore dropdown when creating a new repo. But I found this handy little site: www.gitignore.io/ where you can copy&paste it from.

  • @w0mblemania

    @w0mblemania

    5 жыл бұрын

    Google "github desktop macos". It's right there, first link.

  • @Thekavitkumar
    @Thekavitkumar6 жыл бұрын

    please show how 2 or more people team would work?

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    Pretty much, both people, or the full team, will be accessing the same repo. Either each person can work on their own branch, or multiple people can work on the same branch. They have the files locally on their computer, and then when they commit them to GitHub, someone has to approve the changes. It'll show what changes have been made, and you can leave comments to one another. If two people change the same thing, it creates a conflict, and won't allow you to commit your changes (which is a good thing!), so the conflict needs to be sorted out, and then the changes can be committed. If you want some more concrete examples, find some open-source projects on GitHub (there are tons, Bootstrap is the first that comes to mind though), and see how things work there, because everyone is working on the same files. The big difference with something Open Source, where you are not a team member, is you will create a Fork, which means it copies all the files to your own GitHub account. You make all the changes you think need to be made, and then you can pull those changes into the original repo, but again, someone needs to approve it.

  • @Thekavitkumar

    @Thekavitkumar

    6 жыл бұрын

    Kevin Powell thank you so much for replying my comment. If I am getting this correctly so every team members work on their own branch and when done they will request a pull to the master branch ?

  • @DudesWazap
    @DudesWazap4 жыл бұрын

    The camera is way too close mate. Imagine how this looks like on my 27' monitor .

  • @mrniamster

    @mrniamster

    4 жыл бұрын

    Omg 😂😂

  • @jcsmith9518
    @jcsmith95184 жыл бұрын

    Display too small to see and unable to enlarge.😔

  • @rohanpal1748
    @rohanpal17486 жыл бұрын

    I couldn't understand the difference between pull and publish and merge!!!

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    A pull is taking things from the repository. A merge is if you have a branch, and you want to merge that branch with the master (or another branch). Publish is for creating a new repository.

  • @alexlytle089
    @alexlytle0893 жыл бұрын

    the old version of github desktop seem way better

  • @w0mblemania
    @w0mblemania5 жыл бұрын

    This is a very good tutorial, thank you. A suggestion: please don't wave the cursor around to attract attention to an area. It's very distracting and irritating. (You are in control, but the viewer is not; so for the viewer it's an unexpected, random thing to follow.) Instead, please use editing to zoom in on the area, or highlight the area. Thank you.

  • @KevinPowell

    @KevinPowell

    5 жыл бұрын

    Thanks for the suggestion w0mbles! Glad you liked it otherwise :)

  • @hussainwaliwali6798
    @hussainwaliwali67986 жыл бұрын

    a gentle suggestion. kindly zoom out a lot while your face is on. Thankx

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    I think it's better in my newer videos, but that's for the suggestion :)

  • @guesswho343
    @guesswho3434 жыл бұрын

    A little vague...for a true beginner

  • @ronakkothari4605

    @ronakkothari4605

    3 жыл бұрын

    If you were a true beginner, then you wouldn't even know about GitHub.

  • @yevgeniylitvinov3365
    @yevgeniylitvinov33654 жыл бұрын

    ... maybe show examples of a LAMP ubantu appliance running on a hypervisor, your description says git and github .... you just talk/show github

  • @KevinPowell

    @KevinPowell

    4 жыл бұрын

    I focus on Github Desktop, but this is part 2 of my series. Part 1 looks at the idea behind Git version control. The whole point here is looking at version control for beginners, I think diving into a LAMP stack is a little out of scope for what I was trying to cover :)

  • @ekbergpeter6987
    @ekbergpeter69874 жыл бұрын

    This is outdated

  • @Jatin19902
    @Jatin199026 жыл бұрын

    Great video. I've one question, how's "clone or download" is different from fork? Thanks a lot.

  • @KevinPowell

    @KevinPowell

    6 жыл бұрын

    If you download it, you'll just get a copy of the files on your computer. Clone is more or less the same thing. Generally, you'll fork a repo. Say I have something on GitHub that you want to work on. You could create a fork of it, which means it will make a copy of it on your GitHub account. Then you'll clone (or download) it onto your local machine to make changes to it. You make your changes, sync it with your fork on your account, and then you could push your changes to my main branch by making a pull request. I could then approve it and bring it into the main branch.

  • @Jatin19902

    @Jatin19902

    6 жыл бұрын

    Very informative reply. Thanks again.