Ensure git is available.