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.
- the federal government
- state governments
- the U.S. government
- state government officials
- official government regulations