Make Git an optional dependency.