Preparation
Readings:
What is Version Control: https://www.atlassian.com/git/tutorials/what-is-version-control (5 min)
What is Git: https://www.atlassian.com/git/tutorials/what-is-git (6 min)
Github:
please, create an account on Github.com if you haven't created one yet
Git:
Install Git before the Sunday session:
Mac: it should be sufficient to run
brew install gitin the TerminalHomebrew is a popular package manager for macOS (and Linux), used to easily install and manage software via the command line. You can install it easily by following the instructions on https://brew.sh/
Ubuntu (or any Debian based Linux system): run
sudo apt-get install gitin the TerminalWindows: download and install Git for Windows. Step by step instructions:

Git for Windows download page Scroll to the bottom of the download git page and download the latest version
.exefile. It would generally be the most downloaded file from the list.execute the file you downloaded
on the
Informationscreen, click nexton the
Select Destination Locationscreen, click nexton the
Select Componentsscreen, click next without changing anythingon the
Select Start Menu Folderscreen, click nextChoosing the default editor used by Git, selectUse Vimand click nextAdjusting the name of the initial branch in new git repositories, selectLet Git decideAdjusting your path environment, selectUse Git from Git Bash onlyand click nextChoosing HTTPS transport backend, selectUse the OpenSSL libraryand click nextConfiguring the line ending conversions, selectCheckout Windows-style, commit Unix-style line endingsand click nextConfiguring the terminal emulator to use with Git Bash, selectUse MinTTYand click nextChoose the default behaviour of "git pull", chooseDefault (fast-forward or merge)Choose a credential helper, chooseGit Credential Manager CoreConfiguring extra options, selectEnable file system cachingandEnable Git Credential manager, click nextConfiguring experimental options, do not select any of them, and click installand you should be pretty much done :)
it is *very important that you set up your SSH keys by following those instructions on Github, or this video
Optionally, if you are using Windows and want to use Git Bash on VS Code, follow the instructions in this StackOverflow answer. Linux and MacOS users don't need to do anything related to that - Git Bash on VS Code works right out of the box.
Last updated