For a more in-depth guide, check out the Pro Git book @ http://git-scm.com/book. You can read it online for free.