Easy access using [ ] in hash table

sir here why was the return type &T (reference to T)
I do not understand why did you make a value as garbage??
and then why was the function return type a reference to t??

Can you please mention the time stamp you are referring. it would be easy to tell then.