3. Git 101
Programming Project 2022/23

3.2. Installing Git

How to install Git

  1. Open your terminal and type:
    $ git --version
  2. If you see an output with your Git version like the one below, you are good to go.
    git version 2.24.3 (Apple Git-128)
  3. Otherwise, access this page
  4. Choose your operating system
  5. Follow the installation instructions

Git clients

We will use Git intensively throughout this course, so you may want to install a Git client.

Here are some Git client options for you to consider:

  1. GitHub Desktop
    • Multi-platform
    • Free to use
  2. Git Kraken
    • Multi-platform
    • Free version available for public repos only
    • Pro version available in the GitHub Student Developer Pack
  3. Sourcetree
    • For macOS and Windows
    • Free to use

You may also use your IDE's embedded git client

  1. Git in IntelliJ IDEA
  2. Git in Visual Studio Code
  3. Git in Eclipse

Git clients

You can use Git exclusively through the command line interface, which is the approach of many developers!

Git services

To collaborate and safely backup your repositories, you need a Git repository hosting service:

Note that UNIBZ offers a self-hosted Gitlab service.