Cache Git credentials for an hour.