The first thing to do is locate the music you want to reverse. If you don't want certain tracks to be in the reversed sound file, mute them in GarageBand. Then go to the Share menu and select “Export Song to Disk...” Uncheck the “Compress” check box; although the intermediate file will take up more space, it will come out full quality. Save the file somewhere you'll remember it.

click to enlarge
Then open Audacity and go to the File menu, select “Open...” and open the .aif file you just saved. Select the whole file (or press Command-A) and then click on the Effect menu and select “Reverse.” From the File menu, select “Export as WAV...” and save this file somewhere memorable. You can also trim the file to just the clip you want in Audacity before reversing it; you might only want a clip from it.
Find it in the Finder, drag it to the GarageBand window, and you're finished! Your sound file is now reversed, and you have it as a clip to play around with. Happy composing!