How to Install Git?
Git Installation for Windows
The safest method to install Git for Windows is to download it from the official website. You can go to the official Git website by clicking here and then follow the steps below to download and install Git on your system.
When you first enter the download page, you will see a screen like above. Here, you will notice that there are many operating systems other than Windows, but for operating systems other than Windows, it is much healthier to use the Terminal rather than this page. Select the Windows option here and continue.
Our file will start downloading.
Once the download is complete, run it as administrator for a smooth installation and click yes. The setup wizard will then appear on your screen.
First, a user agreement will appear. After reading it, click Next, or if you are using a Turkish system, click İleri.
The next step asks you to choose the location to install. If you want to change the installation location, click next and continue the installation.
The next step asks you to select the components to be installed with Git. Select the components you want and continue by pressing the next button.
At the next step, it asks whether you want Git to appear in the start menu after the installation is complete. You can check or uncheck it according to your preference. Let's click next and proceed with the installation.
Note: If you check Don't create a Start Menu Folder, Git icons will not appear in the start menu.
Here it asks if you want to use Git along with Visual Studio Code. Let’s click next and proceed.
It asks if you want to install a terminal interface for Git or use it with Bash/CMD.
It asks whether you want to use some libraries for Git.
Let’s click next.
Let’s click next.
Let’s click next.
After these steps, a setup panel will appear, and the installation status will be shown to you with a progress bar. Wait for the bar to fill up.
When the progress is completed, a screen like this will appear. When you click next, the setup wizard will close.
Now Git has been installed on our system and we can use it.
You can check your Git version on Git Bash with the command above.
git version
Git Installation for Linux
Regardless of the distro you use, to install the latest version of Git, first update your system and then install it via terminal/console using the following commands, or download the installer from the website as in Windows.
Debian/Ubuntu
sudo apt-get install git
Arch
sudo pacman -S git
Git Installation for MacOS
Git is available on MacOS from the beginning; if it is not present on your system, it will be automatically installed when you install Xcode.
To check if it is already installed on your system, you can use the "git Version" code mentioned at the end of the Windows section above, and if it is not found, you can download and install it from the link below or from the original page at the top of the article.
You can click here to go to the page.


















Yorum Gönder