당연히 git이 설치 되어 있을 줄 알고 mac terminal에 git을 쳤지만
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
라는 에러가 떴다.
검색해보니
xcode-select --install
라는 명령어로 해결 가능.
다만 gui 환경에서 프롬프트가 뜨니 그걸 진행시켜야한다.