Git is a popular version control system most often used for tracking changes in software source code. This books provides an excellent introduction to what Git is, how it works, how to set it up, and how the day-to-day tasks to manage your content.
The first chapter provides an easy to read overview of Git terminology, objects, security, and tasks. The following chapters provides both commands and explanations for performing initial configuration, creating repositories, adding projects, making commits, correcting changes, branching, cloning and tracking other repositories, synchronisation and pushing, pulling, access control, merging, dealing with conflicts, naming commits, viewing history and showing diffs, editing history, and remote access. The penultimate chapter provides details of useful functions in Git outside of the day-to-day tasks in the previous chapters, such as using git grep to search your repository, git clean to remove untracked files, and git stash to set aside your current work to perform other changes.
The final chapter, “How do I…?” provides a quick look up guide to frequently asked questions. The answers to the questions provide either the command to do the action or a reference to somewhere else in the book with a short explanation. This is a handy feature so you can quickly get the answer to a question you have now rather than having to hunt through the book to find it.
Although this book is titled ‘Pocket Guide’ it contains a thorough coverage of Git tasks and detailed explanations to accompany them making it useful for complete novices and experienced users. The book also provides best practice advice helping you to get the most out of Git from the start.
For more information, see the O’Reilly Product page.