I had a few issues with the cURL library interfering with Homebrew. After hopefully removing the library (I no longer use it anyway), I started receiving errors whenever I used commands such as curl and brew update. I fixed brew with brew uninstall git && brew install git, but I'm still getting the following error with curl:
dyld: Library not loaded: /usr/local/lib/libcurl.4.dylib
Referenced from: /usr/local/bin/curl
Reason: Incompatible library version: curl requires version 8.0.0 or later, but libcurl.4.dylib provides version 7.0.0
I'm assuming that I accidentally deleted the wrong library somewhere along the line. Could someone set me along on the right path in fixing the screwup?