Connected M Audio M Track to the USB port of my mac. Everything was so fast. As soon as I plugged in, it was detected and I was on my way to start recording in Garage band.
The only change I had to do was, go to Preferences ( Garage Band > Preferences ) and change the input and output devices ( shown below).