Some commands don't assert git repo. Add the assertion in each of those commands. Refer: `gadd` on how to add `__assertgitrepo`