Read Pro Git book.