I was able to set up git
without installing brew
on Mojave (10.14 Beta 18A293u) as follows:
- Install XCode Beta (build 10L176w) from https://developer.apple.com/download
- Install Command Line Tools (macOS 10.14) for Xcode 10 Beta from https://developer.apple.com/download/more
- Set developer directory by running
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
in the terminal - Verify that
git
works