github cli createpublic repo code example Example: gh create github repo git init git add . && git commit -m 'Initial commit' gh repo create