This video shows how you can create a repo locally and push to github.
Imagine you have a codebase already present in a directory without git configured in that directory. And you have to push the codebase to git. This video shows you how you can achieve it using git CLI and going to the UI via the web browser once for creating the repository.