Command to change config to make git better and more useful (comes from [this article](https://blog.gitbutler.com/how-git-core-devs-configure-git/))
Based on your description as a casual Git user who mainly works with a Hugo blog, I'd recommend the following settings from the article that would be most beneficial for you:
1. **Default Branch Setting**
```
git config --global init.defaultBranch main
```
This eliminates the annoyance of Git complaining when you create a new repo.
2. **Push Improvements**
```
git config --global push.autoSetupRemote true
git config --global push.followTags true
```
These will save you from the frustrating "no upstream branch" messages and ensure your tags get pushed automatically.
3. **Help Autocorrect**
```
git config --global help.autocorrect prompt
```
Great for catching typos in Git commands.
4. **Global Ignore File**
```
git config --global core.excludesfile ~/.gitignore
```
Useful for ignoring system files (like .DS_Store on Mac) across all your projects.
5. **Better Diff Algorithm**
```
git config --global diff.algorithm histogram
```
Makes changes easier to understand when you review them.