June 21, 2022
If you’ve ever edited a WordPress theme, you’ve probably used the Theme File Editor. It’s easy to do so but also extremely dangerous: if you make a mistake and you can’t go back to an earlier version, you’re going to have a hard time. Luckily, Version Control Systems (VCS) can help you in such situations. Using a VCS, you can quickly retrieve who made changes to a codebase, what they changed, and also when and where (and maybe even why) such changes were made. If you make a mistake, you can revert it in moments, but you can also go back in time and revise changes made five years ago! In this workshop, you’ll learn the very basics of how to use Git on the command line to manage a local codebase on your computer (such as the theme for a WordPress website), and how GitHub allows you to host your repositories remotely, so that you can easily share them with others, and even allow them to contribute to your project.