simonazriel (6) [Avatar] Offline
#1
"When the fetch and push URLs differ?
These won’t differ unless they’ve been set to do so by the git remote command or by Git configuration. It’s almost never necessary to do this, so I won’t cover it in this book."

This is not accurate. Any organization running a large Git installation distributed over a large geographic area will most probably have pull mirrors to make it faster to pull code while the push URL will point to the main repo or quite often when using source code review software like Gerrit, the push URL will point to the Gerrit servers. And the Gerrit servers will be responsible for pushing to the main git repo after a review has been approved.

This is how things are set up at my company and I am sure elsewhere as well. Given the nature of the "In Practice" part of the book, it might warrant a mention on how large orgs use git. Might even be worth a chapter.
simonazriel (6) [Avatar] Offline
#2
Re: Page 32: Note When the fetch and push URLs differ
You even discuss mirroring in Chapter 11 (11.2). The note might want to discuss the fact that URLs may be different in a mirroring environment where the hostname is different.
Mike McQuaid (83) [Avatar] Offline
#3
Re: Page 32: Note When the fetch and push URLs differ
Thanks for your input here but I do think this falls into the "almost never" category.