If anyone wants to learn the basics (and some advanced parts) of Git through a nice little online tutorial, have a look here. It goes pretty thoroughly through branching, rebasing, etc.
This isn’t OpenMRS-specific or anything like that, just a nice little tutorial.