add : implements init cmd for xgit.