GIT is a distributed version control system that creates a repository (repo) in your project folder. This allows you to monitor (track) changes to your project during development, and to try multiple, simoultaneous development lines or roll-back unwanted changes. Conceptually, GIT allows storage of an online canonical copy that others can access, while also having a local copy on your machine for development. Local changes can then be uploaded (pushed) to the online canonical copy (like an update or bugfix). Alternatively, you don't have to put any repo online, GIT will still track the development of your project.
Important:
- The default branch for new repos initialised on Github are now called 'main' instead of 'master'.
- In the following tutorials, 'master' is synonymous with 'main'
- See Main (new) v Master (old)
Follow these walkthroughs to start your GIT journey:
- 1 - Install and setup GIT
- 2 - Connect to GitHub
- 3 - Create your first local repository
- 4 - Create a gitignore file
- 5 - Make your first commit
- 6 - Create your first remote repository
- 7 - Branching & Merging
- 8 - Merge conflicts
- 9 - Fixing common problems
- 10 - Quick Start Guide
Credit for this goes to the creators of the many tutorials out there:
For more detail on the basics of GIT: "Getting started in the command line"