I have some python code formatters as git pre-commit hook and I have changed my python version as
brew list | grep python
python@3.7
python@3.9
brew unlink python@3.7
brew unlink python@3.9
brew link python@3.7
python -V
Python 3.7.9
and know seems something get broken and on git commit I get env: python3.9: No such file or directory, so what is env? and how I can edit it to use python@3.7?