git init git add . git commit -m "initial commit" gh auth login (if not logged in) gh repo create "$(basename "$PWD")" --public --source=. --remote=upstream --push