added caching to git calls