moritz116 wrote:
1. Sorry, I am not able to produce proper nested quotes using this web UI.
Use the quote tool in the toolbar of the editor widget:

I had a working git install before I installed Xcode. I installed git through homebrew, which might be the root cause of the issue.
Bingo! We have a winner!
I was trying to be sensitive to your concerns. You didn't like that I suggested you stop reading Stack Overflow and other sources of misinformation on the internet. It took every ounce of my energy to avoid mentioning "Homebrew". I sincerely thank you for bringing it up first. These days, pretty much any question along these lines about some strange problem eventually comes back to Homebrew.
If you want to install software on a Mac, you can do so. Install it from the source. Large, popular products like Python have properly signed and notarized installer packages (unlike QLMarkdown). You don't need anything else in those cases. For smaller projects, you might have to install from source. But that is what the Command Line tools were designed for.
Or you can take a shortcut, install Homebrew, and find out that your shortcut only lead you to a misconfigured Mac, asking in a support forum why basic things don't work like they should.
I managed to fix the problem after a while, but it took me too long for my taste. Why? I did not want to, for example, fiddle with my PATH in .zshrc as suggested in some bad Q&A threads, because I hadn't have to do that before.
I agree that you shouldn't copy and paste random things you see on the internet into your dot files. However, learning how PATH works and how to properly manage your dot files is the ideal, long-term solution. Once you get to that point, then you might be able to use something like Homebrew successfully. But without sufficient knowledge, you can easily disable your command line environment altogether. That is very common.
I don't want to use Linux as my daily driver, I want to have it available for rare occasions when I need it.
Maybe you should back up and explain what you are trying to accomplish, at a high level.
That is why I referenced the "rabbit hole". People often start following instructions on the internet, get confused, scramble their systems, and only come here when they get stuck on step # 27. In every case, the answer was not to have started digging in the first place.
If you aren't using Xcode, or Linux, what, exactly, are you trying to do? You've got a whole support forum full of people who will try to help you with that. I tend to hang out in the developer forum or this old "Mac OS X Technologies" forum. But maybe you shouldn't be here at all.
Sorry, but how does that relate to Xcode overriding default file extensions set by the recommended way in a native OS UI dialogue, without any notice or indication on how to stop it.
It's Xcode. It's not a consumer tool. There are different expectations.
When I installed Xcode, there was no indication that it would break existing PATH configuration in such a way, if there was, I did not see it.
Xcode didn't break anything. It was Homebrew that did the breakage.
The tone of your reply is unpleasant, I admit the tone of my question was too, but I can't take your attitude serious at all.
I see no problem with your tone. The fact that you are attacking me for the "tone" of my solutions to your question is amusing, but not surprising.
The headline of the "guide" or more correctly, example project, to me sound as if Apple recommends to use a Linux VM in this way.
That's the developer site. There are different expectations.
Where exactly did I "take a shortcut"?
The "shortcut" I needed was UTM.
Homebrew, internet searches, Stack Overflow. Assuming that Xcode is somehow going to break basic functionality. Wouldn't people have noticed that and fixed it at some point over the past couple of decades?
And I'm totally not convinced you need UTM either. 😄