Military flags traditionally had two purposes
In the British Army these flags took on two separate identities
Infantry Regiments carry two flags or Colours, a Queen’s Colour and a Regimental Colour
Cavalry Regiments carry a single flag in two forms
The term Guidon is derived from the French guide-homme or guide man