Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Starting with Git

xkcd comic about git
Source: xkcd 1597

Suggested Resources

I'm looking for a ...LinkDescription
Detailed guide to walk me through the set-up of git and GitHubSoftware Carpentry Guide to Version Control with GitThe summary and set up page provides information about how to install git and creating a GitHub Account. Episodes 2 and 3 within the guide are about how to set up git and create the repository. The subsequent episodes provide practical advice on how to use git
Cheat sheet of git commandsGitHub git cheat sheetCheat sheet of git commands with explanation about what each of the commands do. A pdf version is also available
Simple English explanation of these fixes I copy and paste when I mess upOh Shit, Git?!My go-to guide for when I inevitably mess up. It helped to demystify fixes which I (dangerously) blindly copied from StackOverflow
Simple English explanation of what version control is and why it is important for reproducible researchThe Turing Way book's chapter on Version ControlAn approximate 5-minute read which is perfect for sharing with others or PIs to bring them on board with using git
Book that can tell me everything I can know about gitPro git bookI do NOT recommend this for beginners. But, if you're the kind of person that needs to really understand something to use it. This is the perfect resource.
Guide that is linked to a course at Imperial College LondonImperial Grad School course - Introduction to git and GitHub
Way to find out about upcoming Software Carpentry workshopsSoftware Carpentry website about upcoming workshopsThis shows upcoming workshops around the world
Using Git and GitHub for project managementGit and GitHub for efficient project management and collaboration: a mini-tutorialBlog post on how git can be used for more than just version control

None of these work for me... Do you have any others?

Overviews

Detailed Guides

  • Pro Git book
    • The Git Basics chapter covers the most common git commands and operations
    • If you'd like to use branches, I highly recommend the chapter on Git Branching
    • The Git Tools chapter explores "a number of very powerful things that Git can do that you may not necessarily use on a day-to-day basis but that you may need at some point"
  • Git documentation
  • GitHub training manual
    • Less detailed than the book and documentation
    • Very useful information on getting started with git
    • Written for teaching developers how to use git making it very useful for getting to grips with git and is very practical

More Imperial Grad School Courses

These have been created by the Imperial College Research Computing Service

  1. Introduction to Git and GitHub for Software Development
  2. Further Git and GitHub for Effective Collaboration

Another useful course that's not related to git is Essential Software Engineering for Researchers

Creating a Repository Demo

create repository demo