Answer:
Strong leadership and familiar terrain
The American colonists fighting the British were blessed to have strong leadership in people like General Washington, Thomas Jefferson, Friedrich Wilhelm von Steuben and Alexander Hamilton who inspired and galvanised them into decisive and strong units.
They were also fighting on their home territory and so had better knowledge of the area than the British.
Believed in the cause of independence
The colonists fighting fought with tenacity and this was down to them believing that their cause was just and that they were right to fight for their independence from a British government that did not make decisions with American interests at heart and so were mistreating the Colonists.
This inspired them to go up against one of the strongest armies in the world and stand their ground despite being defeated many times.