The AP Stylebook outlines the following guideline for referring to a branch of government or the government as a whole.
AP Style Government
Government should always appear as lowercase and should never be abbreviated.
For example,
- the federal government
- state governments
- the U.S. government
- state government officials
- official government regulations
See also AP Style Government Bodies, AP Style Political Parties, and AP Style President.