Using Git - cogeorg/teaching GitHub Wiki

As important as any codebase itself, is how the codebase develops over time. What features were added, who added them, why they were added etc. We refer to this process of managing the development of a body of code or project, version control. The most popular and widely used version control system is Git, a snapshot based system. We'll use Git throughout this course, together with GitHub, a hosting service for Git repositories. Please refer to the earlier guide on installing git, if you have not done so already. You will be expected to have a familiarity of the basic Git commands, interaction with Github and actions such as pull requests at the onset of the course.

Resources

  • Codeacademy has one of the best Git and Github tutorials around, here. There is a free interactive lesson at the start of every section and then a range of smaller tasks, which however require a pro account. When you sign up for Codeacademy, you are given a free 7 day Pro trial - I would strongly suggest doing this tutorial in this 7 day period
  • The official Git website, is one of the best sources for more information, tutorials and external links, see here.
  • Git school have a great resource which allows you to type git commands in a web browser based terminal and see a visualisation of how the commands affect the structure of the repo, here
  • There are some helpful guides on Github's website
  • I find that images help a great deal, especially when covering some of the more complex actions you may have to take using Git, here is a great resource.