Git tracks the changes made to a file and allows for collaboration between people working on a single codebase.
How do I get git?
If you do not already have git installed... – you can check by running git --version in your terminal
Windows: Visit the git website here
macOS: There is a version of git ~built into macOS. It gets installed as a prerequisite for Homebrew. However, you can get a more up-to-date version from Homebrew too: brew install git
Linux: Install git using your package manager.
Git tracks the history of changes made to code and allows multiple people to work on the same codebase at the same time.
All of Team 4774's software projects are on the GitHub repository here.
Difference between Git and GitHub: Git is the version control system, while GitHub is the place where the Git repositories are hosted.
Why not to use a GUI at first
We recommend starting out using the CLI (Command line interface). This is because it forces you to learn how to actually use git, whether you use git from the command line or through a GUI you need to understand what you are doing and what you need to do, by typing out the commands you learn the steps required for the workflow you are using. Swapping to a GUI and swapping between them is easy once you have learnt the basics.
How do I use git?
A simple guide to using Git and GitHub for the Drop Bears can be found here.
Do not use the online editor on GitHub, make sure you use the command line.
Make your commit messages descriptive of what you have done in the commit.
IMPORTANT: Run and test before you commit!
Make your commits small and easily testable.
Always pull before you commit.
When you are done working, create a pull request and ask for a review.
A useful page on the most used Git commands: https://www.kernel.org/pub/software/scm/git/docs/everyday.html
Sign up for an account on GitHub: https://github.com/join