Version control with Git

Main reference:

https://swcarpentry.github.io/git-novice/

 

These slides:

https://slides.com/arnauqb/git

What is "version control"?

Git

Why git?

  • Everyone is using it (GitHub)
  • Nothing is lost (if done right)
    • Keeps track of every change
  • Democratic (decentralised)
  • Reliable

Even if you don't work on a team, git is extremely useful!

Requirements

  • Linux / MacOS
    Terminal + git
  • Windows
    Git bash shell
    or any other bash terminal

Generating an SSH key

ssh-keygen -t ed25519 -C "your_email@example.com"
cat .ssh/id_ed25519.pub

Copy ssh PUBLIC key to GitHub

Submitting the coursework

Version control with git

By arnauqb

Version control with git

  • 582