I am trying to clone a repository into /usr/local/ using GitHub Desktop and receiving a permissions error:
Is there a way to make GitHub Desktop ask the user, like Finder does, for credentials to access this directory?
If this is not possible what is the best directory for macOS users to keep repositories so they will function without permissions issues and also keep my system secure?
Example: Homebrew creates directories inside /usr/local and modifies the directory’s permissions.
I am able to use gh CLI to accomplish this but was hoping to do this with the GitHub Desktop.app.