While several factors contributed to keeping the colonial army together, General George Washington is most often credited with being the pivotal figure in maintaining cohesion and morale within the Continental Army. As the commander-in-chief appointed by the Second Continental Congress, his leadership, resilience, and ability to inspire the troops played a crucial role in sustaining the army throughout the Revolutionary War.
The Second Continental Congress also provided essential support and resources, but Washington's personal leadership was key in keeping the army united against the British forces. Therefore, the best answer would be:
General Washington