git 1.8.x on CentOS

At the moment this is not on EPEL & CentOS repo, you'll have to compile from source. Get the desired version: tar -xzvf ./git-1.8.x.tar.gz cd ./git-1.8.x ./configure make && make install

Restored a cleared git stash

Run the following: git fsck --lost-found You will get something similar to this: Checking objects: 100% (6596/6596), done. dangling commit e3b3b973asdasdasdasdasd7cqweqwe35f6d34e Now just apply the stash's SHA1: git stash apply e3b3b973asdasdasdasdasd7cqweqwe35f6d34e