You can use the opps in commercial products and sell your song, but you cannot claim the copyright to the loops themselves.
You can claim the copyright for your own compositions and song arrangements.
See: Using royalty-free loops in GarageBand with commercial work - Apple Support
Learn about the usage of royalty-free loops in GarageBand on commercial songs, multimedia presentations, videos, and animations.
The GarageBand software license agreement says:
"GarageBand Software. You may use the Apple and third party audio loop content (Audio Content), contained in or otherwise included with the Apple Software, on a royalty-free basis, to create your own original music compositions or audio projects. You may broadcast and/or distribute your own music compositions or audio projects that were created using the Audio Content, however, individual audio loops may not be commercially or otherwise distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples, sound effects or music beds."
So don't worry, you can make commercial music with GarageBand, you just can't distribute the loops as loops.
Published Date: Jan 18, 2017