"Heart of Gold", Episode 18 of Once Upon a Time's Season 4 is a Robin-centric episode that delves into his past and presents us with this series' version of how Robin of Locksley came to be known as Robin Hood, as well as the origin of his particular code of thievery, and a little wink at how it is he's such an amazing archer!
Warning, spoilers aplenty below!