One of the big advantages of git is you can see the difference between versions of text. Since you don’t programming languages imagine a group report project in school. Sally may make up the general structure and main points. Tom writes a expanded section of 2 of the points. Matt writes another 2. Sue writes the introduction and conclusion. Jason edits it. Git lets you walk back through all that and shows you who did what and lets you keep/discard the changes. It can show you who changed what and when.
With pictures and images it can store the different versions but can’t distinguish what exactly changed. Like it can store a picture with a blue background and then someone changes it to an orange background but it can’t know exactly what changed only that it’s different,if they changed the background of a city skyline they could of also inserted a tiny monkey into one of the windows. You would have to scan everything versed it highlighting only the differences.
Btw .. here is a book with A LOT more details https://git-scm.com/book/en/v2
LoveEspresso@cafe.coffee-break.cc
hendrik@palaver.p3x.de 1 week ago
I mean you probably want to use Git to solve some kind of problem in your life. The usual use-case is to manage software projects. It’s also good at managing text files of any kind. Whatever you like. A HTML file is text, too. It’s a bit less good with images and other binary formats. But you can use it to manage them as well.
I don’t know what are binary formats specifically, but I too would be using it for software related projects. It’s just that l need to get the hang of these tools.
Right now, Gemini is proving to be a great teacher, telling me the steps and also rectifying my errors.
By binary formats, they mean files that are intended to be interpreted or executed by a computer.
For example, a program (my-app.exe) is a binary file. You use it by double clicking it, and the computer runs the program. If you tried to read the file by opening it in a text editor, you would only see gibberish and random characters.
Another example, an image (my-photo.jpg) is a binary file. It’s not a program, but you can view the image with a program like Paint. But just like a program, if you opened an image in a text editor, you would still see gibberish. That’s because the gibberish is interpreted by Paint so that you can view the image.
But source code (my-website.html) is not a binary file, it’s just a text file with fancy formatting and special rules on how to write it. You can open an HTML file in your text editor, and as long as you know the rules you can learn to read it.
So, there are certain types of files that can be opened with a text editor, and some kinds of files need special programs to open.
Is the program paint open source ?