2. Working with Git locally
In this tutorial, you will create a Git repository, make and track several changes, create and work on independent {term}`branches<Branch>`, and merge work from different branches.
Before starting this tutorial, you should have Git installed (TODO: Link) and a comfortable text editor configured (TODO: Link). You should be comfortable working with files and directories in your operating system of choice.
Note
If you’re looking for quick help with specific tasks, check out the How-Tos instead!
- 2.1. Create a new Git repository
- 2.2. Create some content in the repository
- 2.3. Take a snapshot of our content with Git
- 2.4. Make changes and take more snapshots!
- 2.5. Travel back and forth in time
- 2.6. Label (AKA
tag
) a version so we can come back to it later - 2.7. Create an independent branch for making an isolated change
- 2.8. “Diverge” by fixing an error on the
main
branch - 2.9. Compare/review the two branches
- 2.10. Merge the two branches
- 2.11. Conclusion
This tutorial is intended to be followed step-by-step from beginning to end. Click “Next” to begin.