GIT

Git Client Installation

This tutorial will help you for git client installation on system. Basically git client is used to manage local and remote repository like add, push and commit files. Git client usually used for coordinating work among programmers collaboratively developing source code during software development.

Before you start using Git, you have to make it available on your computer. If it is available on your system let’s update the existing client. Either you can install it as a package or you can download and compile it on your system.

2.16.2 is the latest stable version is available for git client and this tutorial will help you install latest git client.

Git client also comes with GUI tools for example committing git-gui and browsing gitk these gui tools will give you good hands on experiance.

Git Client Installation on Ubuntu & LinuxMint

Use these below command to install git client on Ubuntu and LinuxMint system.

$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git

Now you can verify the installed version of Git client.

git --version
git version 2.16.2

Git Client Installation on CentOS/RHEL/Fedora

Follow these below command to install git client on CentoOS/RHEL/Fedora

First install these below required packages.

# yum install curl-devel expat-devel gettext-devel
# yum install gcc openssl-devel zlib-devel perl-ExtUtils-MakeMaker

Let’s download latest git source code and extract it.

# cd /usr/src
# wget https://www.kernel.org/pub/software/scm/git/git-2.16.2.tar.gz
# tar xzf git-2.16.2.tar.gz

After that compile source code using these commands.

# cd git-2.16.2
# make prefix=/usr/local/git all
# make prefix=/usr/local/git install
# echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrc
# source /etc/bashrc

Verify the installed version of Git client.

#git --version
git version 2.16.2

Git Client for Windows

Windows users mostly like graphical user inter face. If you want git client for windows you can use TortoiseGit.

This is a beautiful Graphical tool for managing git repositories in Windows system. I am using this tortoiseGit last couple of year. Really it os very good tool.

FAQs

Questions 1 : I do I install Git client?

Answer : To install git client on linux run: sudo apt-get install git. Now verify it using git –version command.

Question 2 : How Do I install GitHub client?

Answer : Follow below steps to install Github client:

  1. Open your browser.
  2. Type desktop.github.com.
  3. Select Windows to Download. Click on Downland button.
  4. When prompted. Click on run button.
  5. Now allow installation and click on install button.

Question 3: How do I know if git is installed?

Answer : To check if git is installed or not, simply run git –version command. On Windows open window terminal and run the same command.

Question 4 : What is TortoiseGit?

Answer : TortoiseGit is the git client which is very useful git client for windows.

Question 5 : Is GitHub safe for use?

Answer : Yes, we can say that GitHub is safe because it is secure end-to-end transmission. You can also check the integrity of the repository with checksums to check the man-in-middle attack.

Thank you! for visiting LookLinux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at LookLinux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

1 Comment

Leave a Comment