First working version of git repo cache script.