download pkg from github
# wget https://codeload.github.com/gitlabhq/gitlabhq/zip/master
...
installation
# apt-get install -y gcc make autoconf zlib zlib1g-dev tk gettext
# ./configure && make && make install
check result
# /usr/local/bin/git --version
git version 1.7.12.4
# ln -s /usr/local/bin/git /usr/bin/git