First off understanding the words posted: Civil War: a war between political factions or regions within the same country.

( US ) history the war fought from 1861 to 1865 between the North and the South, sparked off by Lincoln's election as president but with deep-rooted political and economic causes, exacerbated by the slavery issue. The advantages of the North in terms of population, finance, and communications brought about the South's eventual surrender at Appomattox

Now what occured against the Brits was a Revolutionary War: The war for American independence from Britain. The fighting began with the Battle of Lexington and Concord in 1775, and lasted through the Battle of Yorktown in 1781. General George Washington commanded the American forces, assisted by Ethan Allen, Benedict Arnold, Horatio Gates, John Paul Jones, and others. The leaders of the British included Charles Cornwallis, John Burgoyne, Thomas Gage, and William Howe, among others. The American cause was greatly aided by French ships and troops and by the presence of the French nobleman and soldier the Marquis de Lafayette. The Treaty of Paris in 1783 officially ended the war. ( See Battle of Bunker Hill and Battle of Saratoga.)


So now that we have cleared the difference from a civil war to a revolutionary war, lets look at anthoer example of your use of Somalia.
Somalia has no offical form of government, so there for it can not be used as an example.

So in conclusion you know have been showen the differences.