I have already done the bulk of the work on this, but it has a lot of waffle around it, so this will be a more straight to the point version.
Step One: Create Git Local Repository
Traditionally you add a README.md file first and initialise the repository, then add the new file and commit it.
Step Two: Create the Remote Repository
In your list of repositories on Github click on the new button.
The only thing you must do on this page is to specify the name you want to use for the remote repository. Don’t add a README, since you will be pushing the one you’ve already done soon, and we don’t want conflicts this early. Click “Create repository”.
Step Three: Follow the Steps laid out on the next page
As you can see, we’ve completed the first four steps already. I’d advise to have the full repository name copied to your clipboard to avoid typos when adding the remote repository. On my system “main” is specified as the main branch of projects by default, so the details below will deviate only very slightly.
Now you have your repository set up. It will look a little something like this:
Hmm, two quickys today, I must be feeling energetic…