I have been trying to instal the Git on my mac, But every time I use the command $git --version.

I get the following error

**xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)**

I have already installed the Xcode on my mac for iOS App development.
I am not sure what this error is trying to say.