Add local cache for Git repositories
Add temp composer home for GitDriver test using cache
Merge remote-tracking branch 'GromNaN/git-cache'
Code cleanup, refs #2316