I recently got into customizing my system and want to back up my configuration files. I've seen others use GitHub for this purpose, but I'm having trouble figuring out how to upload my files. I tried uploading directly on GitHub and ended up feeling confused. I want to stick to using just Git and avoid installing any additional software. Can anyone guide me on how to do this?
3 Answers
First, you need to understand that GitHub isn't designed for simple drag-and-drop file uploads. It's more about version control. So, you'll want to put all your config files in a single directory, start a Git repository with `git init`, and then link it to a GitHub repository. After that, just add your changes, commit, and push them to GitHub. If you're new to Git, here's a helpful link to get started: https://webtuu.com/blog/04/a-laymans-introduction-to-git.
Before you upload your files, it's important to get familiar with Git itself. I recommend checking out this book: https://www.oreilly.com/library/view/learning-git/9781098133900/. Once you have a grasp on Git, consider using a tool called 'yadm' to simplify managing your configuration files. It makes the process really easy!
A common approach is to create a 'dotfiles' folder where you store your configuration files. From there, you can commit and push those files to GitHub. It's a great way to keep your settings backed up and accessible! Look into 'dotfiles' for more info.

As an easier method, try creating a new repository on GitHub, make sure to initialize it with a README. Then, install Git via your package manager. Clone the repository to your computer with `git clone`, move your config files into that directory, use `git add --all`, commit with a message, and finally push.