gh create github repo

C++
git init
git add . && git commit -m 'Initial commit'

gh repo create
Source

Also in C++: