Git Tutorials

What is Git?

Git is a piece of software that handles version control. Version control is a system that records all changes done to files. Git specializes in script and text-like files, as it records exact changes done to individual lines, but works with any type of file as well.

As the files are modified, you get to create commits - "checkpoints" for the progress you're making. These checkpoints can be used in a number of different ways.

Why is Git useful?

Commits form a perfect timeline of your project, showing when exactly was each file added, last changed or deleted. The timeline isn't just pretty to look at, some of the ways we can use it is:

  • Reverting your progress to any of the previous commits
  • Developing features separately from the main project
  • Analysing code files to see when was each line last modified
  • Avoiding situations like this

Projects utilizing Git can be uploaded to websites like GitHub or GitLab, to provide even larger amount of functionality:

  • Almost instantaneous ability to backup your project
  • Sharing your project with others
  • Organizing collaborations and group projects
  • Automating code stuff with functions way too advanced for myself to use

And much more. If this got your attention, follow the links below! 

The final state of the repository created over the course of the tutorials can be found here, on its GitHub page.

If you have questions, I'll gladly answer them on my Discord server.