**NOTE** You will need to have compiler access on your shared hosting account in order for the instructions below to work. You can request your host enable this, or pass these instructions along to them and request they compile git for you.
cd wget http://git-core.googlecode.com/files/git-220.127.116.11.tar.gz tar zxvf git-18.104.22.168.tar.gz cd git-22.214.171.124 ./configure --prefix=/home/$USER make make install echo 'PATH=$PATH:$HOME/bin' >> $HOME/.bashrc source $HOME/.bashrc
If you get the error “bash: /usr/bin/wget: Permission denied” you can try downloading the git source with the command
curl -O http://git-core.googlecode.com/files/git-126.96.36.199.tar.gz