Fix double-declaration of cgit class

The cgit class was declared twice, fixing up syntax so it's not.

Change-Id: I94691090e9c5fb49153dbc89ed414e2e7a37afa4
Merge "Fix double-declaration of cgit class"