How to Install and Configure Git and GitHub on Ubuntu 22.04 LTS (Linux)

Поделиться
HTML-код
  • Опубликовано: 4 июн 2023
  • Learn how to install and configure Git and GitHub on Ubuntu (Linux) with this comprehensive tutorial. #Git #GitHub #Ubuntu #LinuxTutorial
    Set Up Git:
    git config --global user.name "Your Name"
    git config --global user.email "youremail@domain.com"
    other commands
    git clone (url)
    git add (file names)
    git commit -m "(committed message)
    git push -u origin main
    git remote add origin main (url)
    FIX: "Support for password authentication was removed. Please use a personal access token instead."
    git clone tokenhere@github.com/user_name/repo_name.git
    Git is a popular version control system used by developers to track changes in their code repositories. GitHub, on the other hand, is a web-based platform that provides hosting for Git repositories and offers additional collaboration features.
    In this tutorial, you will discover the step-by-step process of installing and configuring Git and GitHub on Ubuntu. Whether you are a beginner or an experienced developer, this tutorial will provide you with the knowledge and skills to effectively use Git and GitHub in your projects.
    The tutorial covers topics such as:
    1. Installing Git: You will learn how to install Git using the package manager on Ubuntu. We will guide you through the installation process, ensuring that you have Git up and running on your system.
    2. Configuring Git: After installation, you will understand how to configure Git with your username and email address. This configuration is essential for properly attributing your commits.
    3. Setting up GitHub: You will explore the process of creating a GitHub account and configuring Git to work with GitHub. This includes generating SSH keys, adding them to your GitHub account, and establishing the connection between your local Git repository and GitHub.
    By the end of this tutorial, you will have a solid understanding of how to install and configure Git and GitHub on Ubuntu. You will be ready to start using Git for version control and collaborate with others using the powerful features of GitHub.
    Join us in this tutorial and take your development workflow to the next level with Git and GitHub! #VersionControl #Collaboration #DevOps #SoftwareDevelopment
    Git is a distributed version control system. This video shows How to Get Started with Git and Github and teaches The Basics of Git and GitHub.
    Version Control ? - Version control systems are a category of software tools that help a software team manage changes to source code over time.
    What is GIT? - By far, the most widely used modern version control system in the world today is Git. Git is a mature, actively maintained open source project originally developed in 2005
    Why GIT? - Relying on software for mission-critical applications, altering your development workflow impacts your entire business. Git isn’t just for agile software development-it’s for agile business.

Комментарии • 46

  • @jordythegiant
    @jordythegiant 3 месяца назад +4

    Most simple install/configure method I've seen by far. Thank you!!!

  • @hardnocks24
    @hardnocks24 Год назад +9

    Best tutorial on Git. Very easy to understand and up to the point, unlike others who make it look too complex.

  • @fundalab6826
    @fundalab6826 Год назад +1

    everything went well !!! thank you !

  • @jaysonkurtyka6186
    @jaysonkurtyka6186 3 месяца назад

    Thank you very much for posting this tutorial, it is very clear and concise to get started with Git/GitHub and is greatly appreciated. Thanks!!

  • @bernardobruxel
    @bernardobruxel 2 месяца назад

    man! i love you, i was struggling on making my first repo in git, always was going wrong, your video saved me! thanks a lot!

  • @hayreddinbarbarossa3132
    @hayreddinbarbarossa3132 4 месяца назад

    Was looking for a solution and this worked for me. Thanks a lot friend. Thumbs up

  • @jamesthomas1261
    @jamesthomas1261 8 месяцев назад +2

    Excellent tutorial

  • @DebjhotiDeb
    @DebjhotiDeb 5 месяцев назад

    *KEEP UP THE GOOD WORK, VERY INFORMATIVE*

  • @josecarlos-zc9hy
    @josecarlos-zc9hy 14 дней назад

    Hablas ingles muy bien!! Es la primera vez que entiendo todo un vídeo en idioma ingles, muchas gracias!!

  • @ghostwarrior7974
    @ghostwarrior7974 3 месяца назад

    Hello from Brazil ! now i'm understand why learning english is a very very important for my software engineer career.....

  • @billyyoung9816
    @billyyoung9816 2 месяца назад

    Thank u, the video really helps a lot

  • @dweh
    @dweh Месяц назад

    Thank you so much! Nice video!

  • @narsinghsaini3626
    @narsinghsaini3626 2 месяца назад

    Very informative video. Thanks

  • @GoldyAwad
    @GoldyAwad Год назад +1

    Thanks alot for this tut, can you also make a video on the same but using ssh instead of https?

  • @its_niraj01
    @its_niraj01 Год назад +1

    Best tutorial. Everything done very smoothly. Thank You sir.

  • @Xargoniten
    @Xargoniten Месяц назад

    Thank you, very helpful!

  • @eduardoalmeida4150
    @eduardoalmeida4150 9 месяцев назад

    VERY THANK YOU!!!!

  • @nashanplays7834
    @nashanplays7834 4 месяца назад

    SUPER USEFUL THANK YOU!

  • @OnePushMan547
    @OnePushMan547 8 месяцев назад +1

    Easy to follow and understand! Thanks!

  • @ivanalves3393
    @ivanalves3393 4 месяца назад

    You're amazing!!!!!!!!!!!!!! TYVM my friend!! 😍

  • @devincurrie4145
    @devincurrie4145 9 месяцев назад

    Nice. Thanks.

  • @georgesmith9178
    @georgesmith9178 3 месяца назад

    You helped me - thumbs-up. Just a quick update for the video, though: they must have added "Push protection", which scans for anything that looks like a password in files you are trying to push. If they find it, the push is rejected. You can override this from user's Settings (top right, icon where you click for Profile) > Settings > Code security and analysis > under User and against "Push protection for yourself" click Disable.

  • @jellyfish1772
    @jellyfish1772 2 месяца назад

    very helpful thanks.

  • @BillRees
    @BillRees 6 месяцев назад

    Excellent! Thanks.

  • @vimlinux
    @vimlinux 8 дней назад

    Do we have to configure everytime for each repository?

  • @kartikeytewatia6824
    @kartikeytewatia6824 4 месяца назад +1

    WHEN I RUN THE FIRST COMMAND IT SHOWS USER IS NOT IN SUDOER S FILE???

  • @nazmussaquibkhan
    @nazmussaquibkhan Месяц назад

    Thank you brother.

  • @vichetvatt9979
    @vichetvatt9979 2 месяца назад

    Thank you so much.

  • @patel5532
    @patel5532 11 месяцев назад +6

    Sir, This will work, but it has some security risks and disadvantages:
    1. Security Risks: If we ever accidentally print your remote URLs (for example by running git remote -v), our token will be exposed. It's especially risky if we're in a screen-sharing situation, or if our terminal history is accessible to others.
    2. Inconvenience: we would need to include the token every time you clone a repository or set a remote URL. This can be cumbersome, particularly if we are working with many repositories.
    3. Token Expiry/Revocation: If your token ever expires or is revoked for any reason, you'll need to update all the places where we've hard-coded the token
    Could you make video on how to use git credential helper in Ubuntu?

    • @Project-47
      @Project-47 7 месяцев назад

      So, is there a better alternative to this?
      I had been using git credential manager since but it is kinda unreliable.

  • @alham3995
    @alham3995 2 месяца назад

    OH man Thank you very much

  • @fikrilhadadramadhani1272
    @fikrilhadadramadhani1272 5 месяцев назад +1

    THANK YOU VERY MUCH OMG. I'VE BEEN SEARCHING HOW TO SOLVE THIS UBUNTU PROBLEM FOR 2 WHOLE DAYS.

  • @sen8078
    @sen8078 2 месяца назад

    thank you homie

  • @setsuro.splice
    @setsuro.splice 3 месяца назад

    Hi, im getting issues. This doesnt work if im running ubuntu on a virtual machine it seems.
    @8:20 when i clone my repo, it doesn't work. Weird thing was, they asked for my github username and password, i gave them and the error was: "support for password authentication was removed on August 13, 2021".

  • @rakeshr2678
    @rakeshr2678 18 дней назад

    Thanks a lot

  • @alexandreals
    @alexandreals 7 месяцев назад

    Many thanks, pknowledge

  • @aka-Monster01
    @aka-Monster01 Месяц назад

    great video
    ik i didn't get everything alot of things are just watch and do for me
    but i know i'll make it with decent practice || those things are not something u'll master in just one shot
    don't get overwhelmed just do it

  • @shashanksingh4708
    @shashanksingh4708 28 дней назад

    is the authentication issue only for Linux ? I havent observed it when using Windows ..........

  • @storm-kd4op
    @storm-kd4op 4 месяца назад

    thank you!

  • @BirushaNdegeya
    @BirushaNdegeya 2 месяца назад

    I get this error. Your push would publish a private email address.

  • @sravani8666
    @sravani8666 11 месяцев назад +1

    Very clear explanation sir...
    But I didn't understand how to get the URL @16:38
    Can you plz explain...

  • @mikveen3847
    @mikveen3847 Месяц назад

    it just isnt working for me

  • @plasmahvh
    @plasmahvh 8 месяцев назад +5

    why not just setup ssh?

  • @user-xl6kh3oq7x
    @user-xl6kh3oq7x Месяц назад +1

    фигня, не работает

  • @Cat-zh6xx
    @Cat-zh6xx 6 месяцев назад

    shit