Pro Git by Scott Chacon and published by Apress.