Added credential caching for git