cli: removing extra git op & refactors