There are many ways to learn the world of Git. But besides throwing new developers into a Sandbox and telling them to dig, there are few options for mastering this popular tool.
Introducing Learn Git Branching, a visual/interactive learning environment for learning how to use Git.
The website includes a range of tutorials and visual guides designed to walk you through mastering Git.
Tip: you can use the sandbox mode to mock up your actual git repo and test your rebases/merges in a safe way.
Start the tutorials here: https://learngitbranching.js.org