Fix #465 out-of-memory due to git fetch prompt for cred