Michael has written up a guide on how to create and test patches with Git. A good read for anyone interested in contributing or following the development of Rails.