Tuesday, May 16, 2017

Git for Beginners - Part 02 - Installation


In this tutorial I will show you how to install Git on your machine. There are different installation processes for different platforms.
  • Mac Users:
You don't need to worry about that installing Git. It comes to your system by default.
  • Windows Users:
You can download Git for Windows using this link. Then download the latest version to your machine.


If you browse git-scm.com site, you may see that it will automatically select your operating system and the latest version of the Git. Go ahead and click Download for Windows. 

Below steps are shown how to install git on your machine. Go ahead and follow these steps.



  • Then you can change the directory of the installation of the Git or set it to default and click Next.

  • You can select components to install to your machine. Make sure that Git Bash and Git GUI is ticked. In this tutorial series, I will use the Git Bash. But feel free to check the Git GUI whenever you like. Then click Next.
  • You may create a shortcut for the program for a particular place. If everything is fine to click Next.
  • Then you can Adjust the PATH Environment. Here you can use Git from Git Bash only or  Git from the Windows Command Prompt. For this tutorial, I will choose the second option.



  • For the next three options keep it default and click next. 


After the installation process go to Start Menu. You can see that there are two options, Git Bash and Git GUI. As I mentioned earlier I will use Git Bash. It is a command line interface similar to Unix Bash. But you may use the Git GUI if you like. 

  • Linux Users:
If you are a Linux user open a terminal and type $ sudo apt-get update. Then, 

If you using a Debian-based distribution like Ubuntu, type $ sudo apt-get install git.


If you are using Fedora, type $ sudo yum install git. 

From these commands, the latest version of the Git will be installed on your machine. This is all about the installation of the Git. In the next tutorial, I will show you how to configure Git, implement a Git repository and how to work with it.







0 comments:

Post a Comment

Copyright © iTecTricks | Powered By Blogger

Design by Shehan Vanderputt