Skip to content

Installing Git


In the terminal,

sudo apt-get update
sudo apt-get install git
  • Download the installer from
  • Run the installer with default options, except:
    • Make sure "Git Bash Here" is installed
    • Use a more user-friendly editor such as Nano unless you already know Vim
  • Right-click on empty space in Windows Explorer to open "Git Bash here". Git Bash is a terminal emulator that uses
  • You can use common Linux commands on Git Bash like ls.

TODO: add screenshots


It is also possible to use Git from Windows "Command Prompt", but Git Bash offers more features such as tab completion.

  • Download and run the installer from
  • Mac comes with a terminal emulator (in your /Applications/Utilies folder). You can use Git from the terminal directly.


Git is a version control system that tracks the person who writes the code. We need to tell Git who we are.

In the terminal, run

git config --global "Your name"
git config --global "Your email"

For Your name, use any human-readable name that others understand. (It does not have to be your GitHub name/account).

However, for Your email, use the email you associated with GitHub. This will allow your profile picture to display next to your commits.