Articles → GIT → Install GIT And Ubuntu
Install GIT And Ubuntu
Download Git Set Up
- Open https://git-scm.com/
- Once the page gets loaded, click on ‘Downloads’.
Click to Enlarge
- From the download page, click the appropriate operating system (in my case, it’s windows)
Click to Enlarge
- 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
Click to Enlarge
Installing Git
- Double-click on the set up downloaded from the previous step.
- 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.
Click to Enlarge
- On the next screen, a window appears to select the component to install
Click to Enlarge
- On the next window, select the default editor the Git uses
Click to Enlarge
- On the next window, you specify the name of the initial branch of the new repository
Click to Enlarge
- 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
Click to Enlarge
- On the next window, an option for the SSH executable is selected
Click to Enlarge
- On the next window, we specify the line-end configuration. It means how line endings (newline characters) are handled across different operating systems
Click to Enlarge
- On the next screen, we configure the terminal emulator
Click to Enlarge
- On the next window, set the default behavior of the git pull command
Click to Enlarge
- On the next window, choose the credential helper
Click to Enlarge
- On the next window, you can configure extra options like file caching
Click to Enlarge
- On the next screen, we do additional settings
Click to Enlarge
- Finally, a screen will appear where a user can click on the "Install" button to start the installation
Click to Enlarge
Check If Git Has Installed
- Go to desktop.
- Click on the ‘Git Bash’ icon.
Click to Enlarge
- A command prompt like window will open. In the window, enter the following command
Click to Enlarge
Installing Ubuntu
- Open windows store (if you are using windows 10).
- In the search box, type ‘ubuntu’ and press enter.
- Ubuntu application is searched in windows store.
Click to Enlarge
- Click on ‘Get’ to install ubuntu.
Other Settings
- Go to control panel.
- Click on ‘Programs’( ‘Turn windows features on or off’).
- A window will appear to enable/disable windows features. Select ‘Windows Subsystem for Linux’ checkbox and click Ok.
Click to Enlarge