Your goat is a male goat.
That changes things a bit.
I lived in the country for a bit and the people across the way raised goats. What I had not realized before was that male goats are not as common to see. That is, when you go to a petting zoo most likely all the adult goats are lady goats.
So here's what I know about the living conditions of one very spoiled male goat.
My neighbors had one intact male goat. Chauncey. Just one. He was kept mostly separated from the others. And you could SMELL him from really far away. They have a kind of musk/urine smell. During the season they pee all over everything including themselves.
Lady goats are useful for milk. Male goats: breeding. They are more aggressive by and large, and more likely to be killed for their meat when they are young.
Male goats can sometimes be kept together, but they have to bond before breeding season, and most of the time they fight and will breed with anything. Including immature females that might be related to them. Goats are social, so sometimes they kept a wether (a castrated male goat) in with Chauncey but put the wether back in with the girls when Chauncey got too rough at the peak of breeding season.
During breeding season he would often forget to eat, so focused was he on the ladies. They had to hand feed him some while being careful of his aggression. (He was a spoiled goat).
Chauncey had his own shack/lean to type thing for shelter that he could wander in and out of, as well as his own acre of land to graze on, and a supply of hay.
They would also give him fruits and veggies cut up like pumpkins and lettuce, but he also loved unsalted tortilla chips and was especially fond of grapes. When it wasn't breeding season, he was still horrible, but during the season, I couldn't go near him. Only certain people could and that SMELL was JUST. UGH, oh boy, I can't even describe... I never got peed on, but I watched him hit my neighbor from a distance that was pretty impressive. (This was through binoculars. In the country where we lived, we would use them to look at our stock in the fields to check on them, and sometimes we would watch the neighbors feed their goats or their dogs herding the goats.)