There are some things that are great in theory. In practice, though…

It’s actually cool, too. I just need to learn how to use it. I’m talking about git.

Admittedly, I mostly hate myself for doing the “learning-by-being-frustrated” or “learning-by-running-head-first-into-problems”-approach. It seems not to be very wise to “simply start” using git. It is a *much better* idea to get to know some basic information first.

“What is git? And why do you keep using it if it’s so difficult?” you may ask.

It’s not that difficult, really. Git is a version-control system, which keeps track of things I change in documents. By saving the changes it enables me to jump back to older versions of my document if I destroyed things. (Happens. Rarely. Occasionally, maybe…)

Why use git?

Also, using git and GitHub , which stores the git-changes in an online repository, makes it easier for me to collaborate with loads of other people. Sometimes problems arise if too many people work on a google-doc at the same time and things get overwritten. If people work on the same document on a shared server at the same time they may end up with loads of documents, because there were conflicts in saving the document again. GitHub is a great way to overcome these problems.

A third point is the accessibility of code / data for other people. On GitHub I can either use a private repository, which nobody will be able to see or a public one. Public ones are great for sharing the things I’ve written digitally and accessible for everyone. Other people may have ideas on how to improve things I did and they are able to do so easily and then I can incorporate their changes if I want. Or not.

Because there is a lot of good information about git and GitHub out there, I won’t give a new introduction, but simply gather some links that might be helpful to others… and future-me. Most of those will be concerned with git and Rstudio, because that’s what I mostly use it for. Also, it may well grow over time, when I run into new problems that need solving.

Link list

(You may notice, that these links are giving very basic advice. Yes. This means I’ve had very simple problems so far, which only happened because I just went for it instead of having a look at a manual first. *head hits table* …)

  • note to self, 2019-07-17: don’t confuse SSH with HTTPS… *facepalm*

Sophie Schmidt

Founder & Editor

About the Author

My name is Sophie, I am a prehistoric and computational archaeologist and have been research associate at the Universities of Bonn and Cologne, as well as for the NFDI4Objects project at the German Archaeological Institute. I teach statistics for archaeologists, work on new methods in settlement archaeology (GIS, geostatistics in R and stuff) and am interested in archaeogaming. Now I started my PhD-project on the 5th mill. BC in Brandenburg (that's North-East Germany).

View Articles