giving baby bananas?

I have regular bananas and was wondering if I can just mash them up and give it to my 5 month old? Is it safe?