**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-18.104.22.168.tar.gz tar zxvf git-22.214.171.124.tar.gz cd git-126.96.36.199 ./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-188.8.131.52.tar.gz