Rewrite GitManager in Xtend.