Quick description of git says:
Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server.Branching and merging are fast and easy to do.
New to GIT:
If you are new to git, you can start digging the documentation in the git website.
or get the pro-git book from http://progit.org/book.
Last but not the least, create a github account and start using it. GitHub is a web-based hosting service for software development projects that use the Git revision control system. Github is the best way you can manage and share your code in the cloud.
Install GIT from source on your server with these easy steps:
If you want to setup your own git server within your organization and not use github you can go with the following steps.
- To install git , you need to have the following libraries that GIT depends on, which you can install using the command below, depending on your system:
apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \
$ yum install curl-devel expat-devel gettext-devel \
After installing all the necessary dependencies, download the latest version of git source code from website,
http://git-scm.com/download. Here you can download the debian, windows, osx and solaris precompiled packages or just download the source from the right box under download git.
After you have downloaded the source files, compile and install them (yes, you are right using the make and make install command)
$ tar -zxf git-126.96.36.199.tar.gz
$ cd git-188.8.131.52
$ make prefix=/usr/local all
$ sudo make prefix=/usr/local install
PS: if you downloaded the precompiled binaries, these steps will not be applied.
Once you are done, you can start using git.