Articles → GIT → Install GIT And Ubuntu

Install GIT And Ubuntu






Download Git Set Up




  1. Open https://git-scm.com/
  2. Once the page gets loaded, click on ‘Downloads’.
  3. Picture showing the git-scm site to download git bash
    Click to Enlarge

  4. From the download page, click the appropriate operating system (in my case, it’s windows)
  5. Picture showing the different download options based on the operating system
    Click to Enlarge

  6. Once you click the ‘Windows’ link, a new page will appear to select the installer type. Click on the relevant link to download the installer. In my case, my operating system is 64-bit
  7. Picture showing the screen before the download gets started
    Click to Enlarge



Installing Git




  1. Double-click on the set up downloaded from the previous step.
  2. Once you double-click, a window will come to provide information on licensing (see the screen shot below). Click on ‘Next’ button to move to next step.
  3. Picture showing the first window of the git bash installation wizard
    Click to Enlarge

  4. On the next screen, a window appears to select the component to install
  5. Picture showing the window to select the list of components to install
    Click to Enlarge

  6. On the next window, select the default editor the Git uses
  7. Picture showing the window to select the list of components to install
    Click to Enlarge

  8. On the next window, you specify the name of the initial branch of the new repository
  9. Picture showing the window to select the list of components to install
    Click to Enlarge

  10. On the next window, we specify which application to use for Git. In the picture, we specify Git Bash as an application for using Git
  11. Picture showing selecting an application to use for Git
    Click to Enlarge

  12. On the next window, an option for the SSH executable is selected
  13. Picture showing selecting the SSH executable
    Click to Enlarge

  14. On the next window, we specify the line-end configuration. It means how line endings (newline characters) are handled across different operating systems
  15. Picture showing specifying the line-end configuration
    Click to Enlarge

  16. On the next screen, we configure the terminal emulator
  17. Picture showing configuring the terminal emulator
    Click to Enlarge

  18. On the next window, set the default behavior of the git pull command
  19. Picture showing setting the default behavior of git pull command
    Click to Enlarge

  20. On the next window, choose the credential helper
  21. Picture showing choosing the credential helper
    Click to Enlarge

  22. On the next window, you can configure extra options like file caching
  23. Picture showing configuring extra options while installing git
    Click to Enlarge

  24. On the next screen, we do additional settings
  25. Picture showing configuring additional settings
    Click to Enlarge



  26. Finally, a screen will appear where a user can click on the "Install" button to start the installation
  27. Picture showing a window to start installation
    Click to Enlarge



Check If Git Has Installed




  1. Go to desktop.
  2. Click on the ‘Git Bash’ icon.
  3. Picture showing the git bash icon on the desktop
    Click to Enlarge

  4. A command prompt like window will open. In the window, enter the following command
  5. git --version


    Picture showing the command prompt window for checking the version of the git bash
    Click to Enlarge




Installing Ubuntu




  1. Open windows store (if you are using windows 10).
  2. In the search box, type ‘ubuntu’ and press enter.
  3. Ubuntu application is searched in windows store.
  4. Picture showing the window store to install ubuntu
    Click to Enlarge

  5. Click on ‘Get’ to install ubuntu.

Other Settings




  1. Go to control panel.
  2. Click on ‘Programs’( ‘Turn windows features on or off’).
  3. A window will appear to enable/disable windows features. Select ‘Windows Subsystem for Linux’ checkbox and click Ok.
  4. Picture showing the control panel for adding Windows Subsystem for Linux
    Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Friday, June 7, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250