第一步安装git没有弹窗提示

问题遇到的现象和发生背景

第一次使用Mac系统不懂

问题相关代码,请勿粘贴截图

git
Traceback (most recent call last):
File "", line 1, in
NameError: name 'git' is not defined

运行结果及报错内容

a123@HypBreak-2 ~ % python3
Python 3.10.1 (v3.10.1:2cd268a3a9, Dec 6 2021, 14:28:59) [Clang 13.0.0 (clang-1300.0.29.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

pip3 list
File "", line 1
pip3 list
^^^^

我的解答思路和尝试过的方法

我是在官网直接下载的python但是无法配置环境

我想要达到的结果

git不是python里的东西
是github上的命令。
下载git
https://git-scm.com/downloads