Military officers often take over countries, but only a fool would call the result a government. Governments do not have to be democratic, but they do have to be rule-based. The rules can come in the form of generic laws or customs, but in all cases they have to be promulgated, that is, be publicly set forth.
In addition, obedience to the rules has to rest on something more than fear. If whatever system is running the show is subject to the whim of an individual or group of individuals, or operates through rules known only to the police, or relies mostly on terror, it is not a true government. It is despotism of some sort. Most instances of military rule fit the description of despotism. Speaking of such regimes as governments is just so much nonsense.
By the way, dictionary definitions of government are usually inadequate, restricting themselves to vague statements like “a particular system used to control a country.“ If the mafia took over Italy, would you understand their form of control as government? There has been progress over the years as to what really constitutes a government, and the rule of the condottieri no longer fits.