sync call fix in Command
getVersion method add to gitty