Using Github for Copywriters (via the Github website)

I’m currently working on a new WordPress course (MasterWP – first email is sent on Monday 12th September) that helps to teach things beyond the basics – and to do it I need a website. I’m making the course with Alex Denning who has some technical skills, but isn’t a developer. He can do some html and css but isn’t versed in version control. But then I got to thinking – he can make changes to the site via Github without installing anything.

Github Logo

This is the email I sent him:

Subject: Editing Website Copy on Github

Hey Alex, Since you’re only going to be changing the copy it should be relatively straight-forward for you to edit things directly on Github itself.

Firstly – you need a Github account.

Github stores projects in things called repositories (repos) so if you go to the project repository you can see the site code as it stands currently.

The project you see is the ‘master’ branch. That means it’s the main set of code. If we want to make lots of changes then we can create separate branches (say, a dev branch) and then merge them together. That’s kind of what you’re going to do here, only you’ll do it all online.

The copy is all in the home.php then you’ll see the html that makes up the page. Just above the code is an edit button (a little pencil icon on the right). Click that and Github will do some magic in the background.

You can now edit the copy as you see fit.

Once done scroll to the bottom and see the ‘Propose file change’ section. In here add a title and brief description of what you’ve changed and why. Then press the ‘propose file change’ button.

On the next screen you’ll be shown the changes you made so you can review them. If you’re happy then press ‘Create Pull Request’. This will submit your changes to the original repository so that the repo owner (me in this case) can merge the changes into the master branch.

Job Done!

How is this useful?

So using this is pretty straight-forward – but how is it useful?

Firstly – it allows you to contribute to projects. For instance you can help submit documentation to projects.

Secondly it gives you a way in to contributing to open source projects. Once you have an account you can easily submit issues (software bugs) that the developers can then fix.

Finally – it gives you a basic understanding of the process behind Git. Once you’re comfortable with this you can move on to using the Git for desktop app.

Learning Github

I know I’m a developer so I’m a bit more technical – but I think Github is pretty easy to use – at least once you understand the basics. Github have a Youtube channel with a bunch of tutorial videos if you want to learn more.

Let me know what you think on Mastodon, or BlueSky (or Twitter X if you must).

Related Posts

23 Mar 2017

New Adventures in Jekyll

I use WordPress a lot, but a couple of weeks ago I decided to rebuild one of my older sites with Jekyll (a static site editor) so that I could host it on Github pages. As I have explained before...
17 Sep 2010

Unexpected Benefits of A/B Testing

I am currently beta testing a new website called Optimizely – a super simple A/B testing product… and it’s gotten me thinking.A/B testing is a process that allows you to optimize your website for your users. You create one or...
01 Oct 2013

How to Use Bitbucket with Github for Mac

I like BitBucket – all the cool kids use Github, but for small businesses BitBucket is great. Why? Because it has free private repositories for teams of 5 or smaller. And that’s me right there.Currently I am using BitBucket for...
17 Feb 2024

Creating a Custom HTML Elements: A Colour Picker

I recently needed to create my first custom element - a custom color picker. I wanted to improve the color picker feature on Brush Ninja however I couldn’t find an existing solution that met my needs so I decided to...
25 Jun 2017

Using Git Hooks to Clear Cloudflares Cache

I have a couple of sites powered by Jekyll on Github pages, and I use Cloudflare to help make them nice and speedy (and to get around the github pages traffic limits). However, this means that each time I update...
12 Apr 2013

My First Website

My first website was terrible. Not intentionally I hasten to add – but because I was told to make it bad…I started university in 1998, the internet was just starting to become more mainstream. It was still a few years...