There are tons of tutorials of how to cook git to make a NeroCD out of it. Here is my definitive list of what do you need to know to comfortably work with it.
Basics: git add, git commit -S -m, git pull, git push.
Strategies: git rebase --ff for pulls, git merge --squash for pushes.
No single commit history, no long-lived branches, no rebase on other branches than main.
That’s it.