Our course will make extensive use of Git, GitHub, and GitHub Classroom. In short, our course repositories will hold class notes, data, info, and discussions (the website you are currently viewing is also a part of our repository).

What are Git and GitHub?

Git is the de facto go-to solution for version control and open-source collaboration. Think of “track-changes” on steroids for code files. GitHub is the leading cloud hosting service of Git repositories, that enables efficient and transparent code sharing and collaboration.

Git installation

Visit http://git-scm.com/downloads and download the graphical Git installer that is most appropriate for your machine’s operating system (Mac, Windows, etc.).

Run the installer and follow the instructions. The default installation options are usually all you need for configuring Git on your local machine.

Open a GitHub account

Visit http://github.com and create an account (if you don’t already have one.)

GitHub Desktop installation

GitHub Desktop provides a straightforward GUI interface to git and GitHub. It enables you to easily sync between your local and remote repositories and apply basic git commands with a click of a button.

Visit https://desktop.github.com/ to download GitHub Desktop, and follow the installation guide.

Cloning the course-spring2019 repository

  1. Once Git, GitHub account, and GitHub desktop are all set, visit the course-spring2019 repository.

  2. Once in the repository, click on the green Clone or download button, while making sure that GitHub Desktop is running in the background (this is important!):

3.If done correctly, GitHub Desktop should prompt you with a request for a local destination for the course-spring2019 cloned repo. Choose where you want to install your local copy of the repo, click OK, and you’re done.

  1. To view your local clone of the course-spring2019 folder, press Ctrl + Shift + F while in GitHub Desktop.

Keeping your local repo synced

Follow these steps to keep your copy of the course-spring2019 repo synced with the remote repo:

  1. Open GitHub Desktop.
  2. Set the Current repository to course-spring2019.
  3. Click on the “Fetch origin” button.
  4. If it says Pull with a number next to it (e.g., “Pull” +1), click on it and you’re done.

Further Resources


A website created by Itamar Caspi using RMarkdown.

Disclaimers: (1) The official syllabus and the content on the official Moodle website shall always prevail in case of any discrepancy or inconsistency between this website and its official HUJI versions; (2) This website and its content do not necessarily reflect the views of the Bank of Israel or any of its staff.