Guide to your first git repository:
https://opensource.com/life/16/7/creating-your-first-git-repository
Git Branching:
https://opensource.com/article/18/5/git-branching
Reset and rebase:
https://opensource.com/article/18/6/git-reset-revert-rebase-commands