How to Install Git on Linux, Mac or Windows?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-install-git-on-linux-mac-or-windows/
PINTEREST
PINTEREST
INSTAGRAM

Git is tool and concept developed by Linux Torvals. Git is free and open source distributed version control system. It has tiny footprint with lignhtning fast performance. It is very good alternative to the SVC, SVN or similar version control systems. It is mainly used by software developers in order to control different software versions. In this tutorial we will learn how to install Git on Linux, Debian, Ubuntu, Mint, Kali, Fedora, CentOSi RHEL, Arch Linux, Gentoo, Windows, Windows 7, Windows 10, Windows Server 2008, Windows Server 2012, Windows Server 2016 and MacOS.

Install Git On Linux

There are different ways to install Git on Linux and its ditributions but the most easy and straightforward way is installing with package managers like apt , yum etc. They provides uptodate version of the Git software.

Debian, Ubuntu, Mint, Kali:

We will use apt for deb based distributions. The package name will git

Install Git on Debian, Ubuntu, Mint, Kali
Install Git on Debian, Ubuntu, Mint, Kali

CentOS, RHEL:

rpm based distributions generally uses yum for package management.

Fedora:

New versions of the Fedora will leave yum and start using dnf so we will use following command in order to install Git on Fedora.

Arch Linux:

Gentoo:

Install Git On Windows

Git developers provides prebuild binaries for Windows versions. We will download these binaries from following link.

LEARN MORE  Git Tutorial

https://gitforwindows.org/

Install Git On Windows
Install Git On Windows

After clicking download we will redirected into following URL which is git version 2.18 release files.

https://github.com/git-for-windows/git/releases/tag/v2.18.0.windows.1

Git Executables For Windows
Git Executables For Windows

We have 32, 64 bit options with portable or without installation executables.

Git For Windows 32 Bit:

https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/Git-2.18.0-32-bit.exe

Git For Windows 64 Bit

https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/Git-2.18.0-64-bit.exe

Git For Windows Portable 32 Bit

https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/PortableGit-2.18.0-32-bit.7z.exe

Git For Windows Portable 64 Bit

https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/PortableGit-2.18.0-64-bit.7z.exe

Install Git On MacOS

Installing on MacOS will be a bit tricky because we need to add some repositories with the following brew commands.

AND then we will install with brew

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-install-git-on-linux-mac-or-windows/
PINTEREST
PINTEREST
INSTAGRAM