Github file management

Hopefully someone can guide me here.

What is the best way to put new versions of code on to github? Should I edit the existing file with the newly marked version or should I create a new file.

Thanks
Mike

You modify the existing file, it's got a differential history that way.

Great Thanks! That is kind of what I did. I copied and pasted the new file over the existing one.

I find that the github desktop app is actually really helpful. It's a little counter-intuitive in how it does some things but it manages the changes to files really well. And you can sync multiple forks of the same repo.

Wish they made that for Linux. I do almost everything on a Chromebook these days. About the only time I need my laptop (win64) is to work on graphics.

There is one for Arch Linux.

It's community supported, but still. And the Github desktop is now-open source so you could probably build one for whatever flavor of linux you like.