Added new git cache function.