The Content Writer's Guide to Git and GitHub (No Terminal Required) Cover Image
writing help

The Content Writer's Guide to Git and GitHub (No Terminal Required)

Author

Expert Byline

Sushmith Reddy

Release Date

Last Updated

The "Final_Final_v4.docx" Nightmare

If you are a writer, you already know the pain of version control.

You write a blog post. You name it Marketing_Blog.docx. You send it to your editor. They send it back with edits, so you save it as Marketing_Blog_v2.docx. The legal team reviews it. Marketing_Blog_v3_Legal.docx. You realize you made a typo. Marketing_Blog_FINAL_v4_ACTUALLY_FINAL.docx.

Three weeks later, nobody knows which document is the actual final version.

Software engineers solved this problem in 2005. They built Git.

Git is simply a time machine for text. It tracks every single keystroke, every deleted paragraph, and every added comma across an entire project. If someone breaks a file, you don't have to panic. You just hit the "undo" button and travel back in time to yesterday's version.

Phase 1: Why Developers are Forcing You to Use Git

For years, writers used WordPress. You logged into a dashboard, typed in a white box, and hit publish.

But WordPress is heavy. It requires databases, PHP servers, and constant security updates. Modern engineering teams hate it. Instead, we are building sites using tools like Astro, Hugo, or Next.js. We call this the "Jamstack" or "Docs-as-Code" architecture.

In this modern setup, there is no database. Your blog post isn't stored in a cloud server somewhere. Your blog post is literally just a text file (usually written in Markdown) sitting in a folder on a computer.

If you want to publish an article on a modern tech stack, you have to put your text file into the exact same folder where the engineers keep their website code.

That means you have to use their tools. You have to use Git.

Phase 2: Demystifying the Jargon (Git vs. GitHub)

Let's clear up the biggest point of confusion right now. Git and GitHub are not the same thing.

  • Git is the actual software running locally on your laptop. It is the engine. It tracks the changes you make to your files.
  • GitHub is a website. It is a cloud hosting provider.

Think of it like photography. Git is the camera on your phone taking the pictures. GitHub is Instagram, where you upload the pictures so everyone else can see them and comment on them. (Note: GitLab and Bitbucket are just competitors to GitHub. They do the exact same thing).

When you write an article, you use Git on your laptop to save the drafts. When you are done, you push it to GitHub so your engineering team can take it and put it live on the internet.

Phase 3: The Setup (Skip the Terminal)

If you Google "How to use Git," you will see tutorials telling you to open a black terminal window and start typing cryptic commands like git checkout -b feature-branch.

Ignore them.

You are a writer, not a backend systems architect. You do not need to use the command line. You should use a Graphical User Interface (GUI). It puts a nice, friendly wrapper around Git.

Here is your exact tech stack:

  1. Download VS Code: This is a free code editor built by Microsoft. It is the industry standard. Do not write in Microsoft Word. Write your .md (Markdown) files directly in VS Code.
  2. Download GitHub Desktop: This is a free app made by GitHub. It turns all those terrifying terminal commands into simple, clickable buttons.

If you have those two apps installed, you are ready to work.

Phase 4: The Core Workflow (Your Daily Grind)

Here is the exact sequence of events you will follow every single time you need to write a new piece of content for your company.

Step 1: The Clone

The "Repository" (or "Repo" for short) is just the master folder that holds the entire website. Right now, that folder is sitting in the cloud on GitHub.

You need it on your laptop. You open GitHub Desktop, click File > Clone Repository, and select your company's website. Git downloads the entire folder to your hard drive.

Step 2: The Branch (Your Private Sandbox)

This is the most important rule of Git: Never write on the main branch.

The main branch is the live website. If you edit files there, you are editing the live production code.

Instead, before you type a single word, you create a new Branch. Think of a branch like a parallel universe. You take a perfect snapshot of the website, step into this alternate reality, and make your changes there. The live website is completely unaffected.

In GitHub Desktop, click the "Current Branch" dropdown and click New Branch. Name it something obvious, like drafting-seo-blog-post.

Step 3: Write Your Content

Open the folder in VS Code. Create your new Markdown file. Write your brilliant 2,000-word article. Hit Ctrl + S (or Cmd + S) to save it locally.

Step 4: The Commit (Taking a Snapshot)

When you save a file in VS Code, it just saves it to your hard drive. Git doesn't care yet.

To tell Git to permanently record this version of your draft in the time machine, you have to Commit it.

Open GitHub Desktop. You will see a list of the files you just changed. At the bottom left, there is a box for a summary. Type a message (e.g., "Drafted the first half of the SEO blog"), and click the blue Commit button.

You just saved a checkpoint. If you completely ruin the document tomorrow, you can roll back to this exact commit.

Step 5: The Push (Sending it to the Cloud)

Your commit only exists on your laptop. If your laptop catches fire, the draft is gone.

You need to send your alternate universe (your branch) up to the cloud (GitHub) so the rest of the team can see it. In GitHub Desktop, click the Push origin button at the top.

Your draft is now safely backed up on the internet.

Phase 5: The Anatomy of a Good Commit

Engineers judge each other heavily on their commit messages. It is how we communicate the history of a project.

If a senior editor looks at the history of your blog post, they don't want to see this:

  • Commit 1: "stuff"
  • Commit 2: "fixed typo"
  • Commit 3: "more words"
  • Commit 4: "final hopefully"

That is useless. Write your commit messages in the imperative mood, as if you are giving an order to the codebase.

  • Commit 1: "Add initial draft for Next.js SEO guide"
  • Commit 2: "Fix broken image links in the introduction"
  • Commit 3: "Rewrite conclusion based on marketing feedback"

It takes two extra seconds, but it makes you look like a seasoned professional who respects the workflow.

Phase 6: The Ultimate Fear: Merge Conflicts

This is the bogeyman of Git. It’s the thing that makes non-technical people panic and quit. Let's defang it right now.

A Merge Conflict happens when two people try to edit the exact same line of text at the exact same time.

Imagine you are fixing a typo in the second paragraph of the "About Us" page. But at the exact same time, a developer is also updating the "About Us" page to add a new team member's photo, and they touch the exact same paragraph.

When you both try to push your work to GitHub, the server gets confused. It throws its hands up and says, "Wait, I have two different versions of paragraph two. I am a dumb computer. I don't know which one is correct. A human needs to fix this."

That is a merge conflict. It is not an error. It is a safety feature. It stops you from accidentally overwriting someone else's hard work.

How to Fix It Without Panicking

If you hit a merge conflict, open the file in VS Code.

VS Code is incredibly smart. It will highlight the contested text in bright, neon colors. It will literally show you:

  • Current Change: What you wrote.
  • Incoming Change: What the other person wrote.

Right above the text, VS Code gives you three clickable buttons: Accept Current Change, Accept Incoming Change, or Accept Both Changes.

You just read the two paragraphs, decide which one is right, click the button, and save the file. You have resolved the conflict. It takes ten seconds. The terror is entirely psychological.

Phase 7: The Pull Request (Passing the Baton)

You finished your article. You committed it. You pushed your branch to GitHub.

Now you need to merge your alternate universe back into the main timeline so the article goes live on the internet. You do this by opening a Pull Request (PR).

A Pull Request is simply a formal request for someone to review your work. You are saying, "Hey team, I want to pull my changes into the main website. Please look at this."

  1. Go to github.com in your web browser.
  2. Navigate to your company's repository.
  3. GitHub will usually detect that you just pushed a new branch and show a big green button that says Compare & pull request. Click it.
  4. Write a brief description of what you did. ("Added the new Q3 marketing blog post. Ready for technical review.")
  5. Tag your editor or a software engineer as a "Reviewer."

They will get an email. They will look at your text. If it looks good, they will click the "Merge" button.

The second they click that button, an automated pipeline grabs your Markdown file, builds the website, and pushes it live to the world. You just published an article using an enterprise-grade CI/CD pipeline.

The Bottom Line

Git feels intimidating because the terminology was invented by Linux kernel developers in the early 2000s. It wasn't built for writers.

But once you strip away the terminal and understand the core loop—Pull, Branch, Write, Commit, Push, PR—it is infinitely superior to emailing messy Word documents back and forth.

You don't need to master Git. You just need to respect it. Use GitHub Desktop. Never edit the main branch directly. Write clear commit messages. When you do that, you stop being a headache for the engineering team and become an integrated, highly technical part of the product cycle.

Author profile

Sushmith Reddy

Sushmith is an experienced writer and a published author, creating articles and content for websites, specializing in the areas of training programs and educational content. His writings are mainly concerned with the most major developments in specialized certification and training, e-learning, case studies, informative blogs for Sprintzeal.com and Jarvislearn.com, and mostly dating advice areas covering the field of education and personal well-being. He is also focused on helping new authors learn what nobody trains them for.