Sitemap
SmartComputing

Smart Computing Made Simple

Using Git for Storybook Writing and Versioning

8 min readSep 7, 2025

--

Press enter or click to view image in full size
Photo by Praveen Thirumurugan on Unsplash

At its essence, Git and GitHub are actually text versioning tools, meaning their use isn’t limited to programming. Writers can also benefit from Git to manage their stories, track changes, and collaborate effectively. This tutorial will demonstrate how story writing can be accomplished using Git and GitHub.

By the end of this tutorial, you will have:

  • Created a GitHub repository named TheTimeTraveler
  • Created a local project and connected it to your GitHub repository
  • Written Chapter 1 of your story in plain HTML
  • Committed that chapter to Git and pushed it to GitHub
  • Viewed your HTML file directly on GitHub

This establishes your storybook as a version-controlled project, ready for future chapters, styling, and enhancements.

Step 1: Create the GitHub Repository

1.1 Go to GitHub

  • Open your web browser and go to: GitHub
  • If you are not signed in, click “Sign in” and enter your username and password.

1.2 Start a New Repository

--

--

Mohamad Mahmood
Mohamad Mahmood

Written by Mohamad Mahmood

Programming (Mobile, Web, Database and Machine Learning). Learned life lessons at the Center for Artificial Intelligence Technology (CAIT), FTSM, UKM, Malaysia.