Your 13" MBP doesn't have a Line In jack. The headphone port is also not a combi, so you can't use a splitter.
If you want to record with Garageband, you'll be best off using an external DAC. Failing that, you could get something cheap like a
USB>Audio converter, but the quality isn't likely to be as good.
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.