
After updating my work computer to macOS27 Golden Gate yesterday, I opened up VS Code to discover it warning me that Git wasn’t installed. However Terminal was telling me it was.
It turns out that the introduction of macOS 27 has welcomed the departure of Rosetta 2, meaning that Intel binaries no longer run… at all.
Thus creating the scenario where your apps try to find this Git, try to run an old version of Git from the Intel-era Homebrew days it and fails, eventually reporting that Git is missing. Terminal continues to work because it puts the newer Homebrew path ahead of the older one.
The simple solution to get things back to how they were is simply to remove the old /usr/local/bin/git symlink.
Check your Git paths first
Run this terminal command to see every Git path installed in your system:
echo $PATH | tr ':' '\n' | while read dir; do
[ -e "$dir/git" ] && echo "$dir/git" && ls -la "$dir/git"
done
The quick fix
Instead of having to completely re-install Git, simply delete the broken symlink. That’s it.
rm /usr/local/bin/git
Note: You may or may not need to run that as a sudo command.
After running this command, restart VS Code and your previous Git configuration will work just as before. No nasty re-installing!
