Never install a rifle or a pistol safe in a garage unless it is the only place with better security.
Be wise to bolt it to the floor or add a closet/shelf around it to hide the device from intruders.
I still recommend setting it upstairs/bedroom so that it is difficult to drag away.