First, let’s dive into the key concept that Github, and more specifically, Git, is designed to solve: Version Control. Version Control is a way of managing different versions of your code, allowing you to quickly roll back to older versions of your code when something goes wrong. It also allows you to work on multiple parts of your mod at once, without worrying about one set of features breaking things when you want to test something. In a nutshell, Version Control keeps track of every change you make, storing it in a way that allows you to go back and forth, without risking losing hours or even days of hard work if something goes wrong. There are a few different types of version control, but one of the most common ones you’ll see these days, and the one used by several BG3 Modders, is Git.
Git is primarily handled via a Command Line Interface, though there are desktop and IDE GUIs for using it. This guide will walk you through using it from the Command Line - once you’re comfortable with the concepts I explain here, feel free to explore these if you prefer. Install and/or prepare the tools below, and then we’ll get into some of the ideas behind Git.