here i wrote the specification for you of all the features that the command line needs:
there's obviously no need for repo hosting, git is already decentralized enough, and part of the NIP could be to specify one or more repo URLS to use

GitHub CLI
Manual
Take GitHub to the command line