BigDumbDinosaur wrote:
I don’t do GitHub. I can never make head or tails out of it. :D[/color]
The easiest way of handling this is to click the "Code" button/dropdown and choose the "Download ZIP" option; this will give you a ZIP file with the latest version of the code from the branch you're looking at. (The default branch you see when you go to the project, often called `master` or `main`, is usually the one you want.)
Attachment:
gihub-download-zip.jpg [ 70.56 KiB | Viewed 7761 times ]
If you use Git, you can ignore all the GitHub functionality entirely and just clone the URL directly (
git clone https://github.com/vhelin/wla-dx), treating it like any other URL (GitHub, GitLab, static site, whatever) that provides a Git repo via HTTP. I mostly do this, though I do find the ability of GitHub/GitLab/etc. to let you link directly to a page showing a file fairly useful when I want to show someone a particular bit of code without making them download anything. (And the ZIP download option is of course also useful for those who don't use Git.)
It's worth remembering that GitHub is not Git, no more than your HTTP hosting service is Vim (or your editor of choice for HTML files). One of the reasons GitHub is so popular is that, if you use only Git and not the GitHub-specific features, it's trivial to put up a copy of your repo anywhere else if GitHub starts doing things you don't like. (And a lot of repos did quickly move from GitHub to GitLab when MS bought GitHub.)