"Got" is a common daily-English usage in these cases. It means the same thing as using "was". While fine in daily speech, it would not do in formal writing or a formal presentation.
When we use get and got?
Get is the present tense form of the verb to get. Got is the past tense form, as well the past participle in a sentence such as “We have got two tickets”. Present tense: I get my groceries from the shop down the road. Past tense: I got my groceries yesterday from the shop down the road.
How do you use got?
“Got” has a number of legitimate uses. Among its many meanings are “became,” as in “She got angry” and “He got wise.” It can also sometimes function as an auxiliary in place of “to be,” as in “They got married” and “She got promoted.”