Buy new:
-48% $31.02$31.02
Delivery Friday, August 15
Ships from: Amazon Sold by: itemspopularsonlineaindemand
Save with Used - Very Good
$28.02$28.02
Delivery Monday, August 18
Ships from: Amazon Sold by: Opti Sales
Return this item for free
Free returns are available for the shipping address you chose. You can return the item for any reason in new and unused condition: no return shipping charges.
Learn more about free returns.- Go to your orders and start the return
- Select your preferred free shipping option
- Drop off and leave!
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Pro Git 2nd ed. Edition
Purchase options and add-ons
Pro Git (Second Edition) is your fully-updated guide to Git and its usage in the modern world. Git has come a long way since it was first developed by Linus Torvalds for Linux kernel development. It has taken the open source world by storm since its inception in 2005, and this book teaches you how to use it like a pro.
Effective and well-implemented version control is a necessity for successful web projects, whether large or small. With this book you’ll learn how to master the world of distributed version workflow, use the distributed features of Git to the full, and extend Git to meet your every need.
Written by Git pros Scott Chacon and Ben Straub, Pro Git (Second Edition) builds on the hugely successful first edition, and is now fully updated for Git version 2.0, as well as including an indispensable chapter on GitHub. It’s the best book for all your Git needs.
- ISBN-101484200772
- ISBN-13978-1484200773
- Edition2nd ed.
- Publication dateNovember 9, 2014
- LanguageEnglish
- Dimensions7.52 x 1.03 x 9.25 inches
- Print length440 pages
Customers who viewed this item also viewed

Version Control with Git: Powerful tools and techniques for collaborative software developmentPaperback$10.37 shippingGet it as soon as Tuesday, Aug 19Only 1 left in stock - order soon.
Everything in Git is check-summed before it is stored and is then referred to by that checksum.Highlighted by 1,051 Kindle readers
Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.Highlighted by 1,050 Kindle readers
If you want to see what you’ve staged that will go into your next commit, you can use git diff --staged.Highlighted by 623 Kindle readers
Editorial Reviews
Product details
- Publisher : Apress
- Publication date : November 9, 2014
- Edition : 2nd ed.
- Language : English
- Print length : 440 pages
- ISBN-10 : 1484200772
- ISBN-13 : 978-1484200773
- Item Weight : 1.66 pounds
- Dimensions : 7.52 x 1.03 x 9.25 inches
- Best Sellers Rank: #329,004 in Books (See Top 100 in Books)
- Customer Reviews:
About the authors

Scott Chacon is the CIO and co-founder of GitHub Inc, the popular developer tool and code hosting service. Scott has been involved in the Git community for many years, compiling the Git Community Book, maintaining the main Git website and writing two early and popular books on learning Git, both of which are open sourced.
Scott writes and speaks around the world both about Git and about running and growing a startup company.

Ben Straub (1979–) was born in Wyoming, and lived all over the American west before finding home in Portland, Oregon. His career as a software engineer has been widely varied, from embedded firmware and drivers to rich native applications to websites for energy companies. He speaks and teaches internationally, and evangelizes for better software practices and sane working environments for creative people. He lives with his wife, two children, and two dogs.

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images
This book is openly licensed and available online for free
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on June 24, 2025Very useful, even with IA still use it when I need it
- Reviewed in the United States on April 21, 2016I stand by my original comments, but having purchased BOTH the first and second editions, I would recommend getting the first edition, instead.
The first edition has the best index. Unfortunately the second addition has a very weak index, which makes it difficult to use as a reference. You won't miss the second edition (which I have also purchased). It has 175 more pages, but I haven't found anything in it that I've needed and haven't found in this first edition (the diagrams are larger, but that doesn't contribute to that many more pages). The first edition includes things like "Cherry Picking", "Sub-networking", "External Tools", and "Hooks".
-- My Original Review --
Easy read, very lucid, thorough, and to-the-point. What more could I ask?
The first edition is the best book on Git that I have found, and I've purchased a LOT of them.
I've read several tutorials on git and have found none as clear and to-the-point as Scott Chacon's "Pro Git".
I'm a very experienced Subversion user and administrator; and feel that, in two partial days I understand and can do everything in git that I've done in svn.
In addition, Scott Chacon avoids all of the inaccurate put-downs of Subversion that are so prevalent in the other Git books -- a shame, since Subversion has similar lightweight branching, copying, tagging as git, and a fully editable off-line local workspace (admittedly, unlike many of the earlier server-based tools, such as CVS, SCCS, RCS, ClearCase, VSS, TFS, etc.). Git has the advantage over Subversion of being a distributed system for local/personal projects and for the ability to integrate local repository operations into a remote repository almost seamlessly.
I'm not sold on the value of git's history-cleanup operations that everyone seems to love -- they just seem to be an opportunity for users to create problems unnecessarily that are irrecoverable, or difficult to recover from. However, I'm not yet a git guru, so I'll withhold judgement on that. Again, Scott Chacon avoid's the proselytizing and sticks to teaching the functionality and benefits of git; which I appreciate -- especially compared with the other git references I've read.
- Reviewed in the United States on February 10, 2019Before I begin, an introduction is in order, to provide a little context. I'm a Windows .NET developer, and have been using Git for the past eight years or so. I use it in both my day job (the projects we work on are all source controlled in Git these days), but also in my writing business, to source control the Scrivener projects for my books. It's a fantastic tool for version controlling any kind of file you can think of.
Although I am comfortable with various graphical wrappers, I've also always prefered the Git Bash interface, perhaps because I've always liked Bash's simplicity and elegance, having played around with various flavours of Linux over the years.
With that out of the way, what did I think of this book?
I thought I was pretty knowledgable about Git before. I was wrong.
This book is a fantastic reference, and it showed me that the things I was using Git for barely constitute 10% of everything it's capable of. It's not like I've been doing this <i>wrong</i> necessarily; it's just that there are so many better ways to achieve many of the things I've been trying to do. For example, I knew about rebasing, but I've always been a bit afraid of it. I'm going to be using it more from now on (although as the book points out, I'm going to avoid rebasing anything I've already pushed up).
I also can't tell you how many times I've made a commit, forgot to add a file, and then had to make a second commit immediately afterwards. I'll be using <b>git commit --amend</b> more often now.
Finally, I can't wait for an excuse to use <b>git bisect</b> to find the exact commit where something stopped working!
Another thing I never really understood is why you would use <b>fetch</b> and not <b>pull</b>. Although I now understand the difference much more clearly, I'm still going to keep using <b>pull</b> (perhaps with <b>--rebase</b>, though), since I don't remember ever being in a situation where I had more than one remote for my repository.
This book is staying on my e-reader, and I'll be referring back to it constantly.
On the downside, the formatting of the Kindle Edition isn't great. I like to read white text on a black background because of my visual disability--I need the contrast--but for some reason, clickable URLs in this book (and there are many) are coloured in dark orange. Also, the code samples are a bit difficult to follow at times, because they're indented and don't flow very well on the large font size I tend to use.
Speaking of code samples, all git commands embedded in the narrative are formatted in fixed-pitch font (which is a good thing), but that formatting is inconsistent, so you sometimes see things which you think are supposed to be part of the command, but they're actually part of the narrative, or vice versa.
And the index at the end isn't linked, which makes it completely useless since there's no way to click on a term to go directly to that chapter.
Other than that, it's an entertaining and informative read. I nodded and smiled a few times, as the authors describe some pain I've already been through, but I stared at the screen and went "Wow! I never knew that." many more times that that.
- Reviewed in the United States on January 14, 2018An excellent read for the inspired! It's very easy to find help online for simple 'git' tasks. It's even easy to help help online to build a nice 'git' workflow. This book is not for that purpose... This book is an excellent dive into how git works under the hood. It's so much more than a how-to internet guide. It seeks to impart real knowledge. It gave me the knowledge I needed to solve some issues that the internet guides only made worse. It gave me the knowledge I needed to understand the core of the issues, work back through them carefully and prevent them from ever happening again. If you've worked with a forking model where rebasing happens often you can understand how git can be a pain.
This book has given me so many reasons to hold git high above all other version control systems.
- Reviewed in the United States on June 6, 2018Wonderful book and well written. It helped me to finally understand Git well. As I was a cvn and svn user before, Git was counter-intuitive for me so I had to study Git in detail to compensate for that. This book helped me to get the needed details to grasp git well and to avoid the confusion with Svn, it warns the readers that even if the terms are similar or even identical , those means different things in Git than in Svn and to not try to translate each command of Svn in its Git equivalent as they are build on totally different concepts, Svn is centralized versioning system Git is distributed. Also there is a first chapter that helped me a lot in which the author describes the categories of versioning systems which are 3: local versioning, centralized and distributes.
Top reviews from other countries
匿名Reviewed in Japan on February 7, 20255.0 out of 5 stars I love Git
Huge respect to Linus.
This book is a comprehensive manual for Git.
You may find it exhausting if you start with this one first,
But it is a book that you should read carefully with an energy drink in your hand.
-
Edson WatanabeReviewed in Brazil on July 9, 20255.0 out of 5 stars Conteúdo em inglês
Precisa de um pouco de força de vontade.
O conteúdo está em inglês.
RMReviewed in Canada on November 24, 20215.0 out of 5 stars Very detailed
This is a very detailed book. I got the Kindle version for free on Amazon so you can't argue price.
This is a technical book with loads of examples. In some way if you are new to GIT it can overwhelm you. In the end though if you stick with the basics you'll have a great reference book. When you are ready for more advanced GIT topics again the book will be a great resource.
VijayendraReviewed in India on November 4, 20225.0 out of 5 stars Great reference for git , easy to understand language
Liked the content and easy to understand references
-
MathiasReviewed in Germany on October 3, 20235.0 out of 5 stars Super gut für Einsteiger
Da ich während meiner Ausbildung was das Thema git angeht eigentlich gar nicht ausgebildet wurde habe ich auf Raten eines Freundes dieses Buch gefunden.
Es gibt sehr gute und vor allem schnell zu verstehende Grundlagen zu git und dem Arbeiten damit.
Kann das Buch wirklich allen empfehlen.
Noch ein kleiner Tipp: am besten nebenbei in einem Test Repo mitmachen :)



