Clone Commander Gree, designation 1004, led the Elite Corps stationed on
Kashyyyk during the Clone Wars. He served under General
Yoda, commanding troops that employed specialized equipment for combat in the jungle environment. Gree himself wore camouflaged armor to better blend into the verdant surroundings.
Though a faithful commander who carried out Yoda's orders, Gree was ultimately loyal to the Republic. When Chancellor Palpatine enacted Order 66, Gree understood it was a worst-case scenario contingency -- the Jedi had betrayed the Republic, and were therefore dangerous enemies of the state.
Gree attempted to open fire on Yoda from behind, taking out the Jedi Master before he had time to react. Gree poorly underestimated Yoda's perception. Before he could squeeze the trigger on his rifle, Yoda flipped up and backwards out of the field of fire, and decapitated the commander with one quick swipe of his lightsaber.