When I try to run previously working git commands, I get this:
dyld: Symbol not found: _sqlite3_intarray_bind
Referenced from: /System/Library/Frameworks/C
Maybe you should install Xcode 5.0.1 for Mavericks. Check updates.
This worked for me, just paste in terminal: sudo xcode-select --switch /Library/Developer/CommandLineTools/
xcode-select --install
sudo xcode-select -switch /Library/Developer/CommandLineTools
This did it for me.
On MacOS Mojave this worked for me (git 2.21.0):
xcode-select --install
sudo xcode-select -switch /Library/Developer/CommandLineTools
I hit this same issue running Fastlane on a fresh High Sierra installation. Solved with:
sudo xcode-select --switch /Applications/Xcode.app