added caching for git repositories